exact-config-comment-restatement
YAML or TOML comment exactly repeats the adjacent scalar assignment
Why
A comment that repeats the key and scalar value adds no information and can drift independently from the configuration it narrates.
Fix
Delete the restatement. If the entry is author-controlled and unclear, clarify its key or section; keep comments only for constraints or rationale absent from the value.
Examples
# Retry count is 3retry_count = 3# Keep three retries because the upstream API is eventually consistent.retry_count = 3Files
**/*.yaml**/*.yml**/*.toml