Enable one lint rule and clear every violation in one directory
A rule the team agreed on, switched on for one directory with every violation fixed rather than suppressed.
The ticket
Enable one lint rule for one directory and fix every violation it reports.
Acceptance criteria
- The rule is enabled for the directory and the build is green
- Every violation is fixed rather than suppressed
- No new suppression comments are added
- The remaining directories are counted in the description
What lands as proof
A green build with the rule on and no suppressions added, which is what separates enabling from silencing.
Why teams defer it
- Enabling it repository-wide produces hundreds of errors, which reads as a project rather than a ticket.
- Each violation needs a small judgement, so it cannot be fixed mechanically in one pass.
Questions
- What does the agent actually change?
- The ticket is scoped to one outcome: enable one lint rule for one directory and fix every violation it reports. Work that serves that outcome is in scope, and anything outside it is left for a separate ticket, so the pull request stays reviewable.
- How do I know the work is done?
- The pull request carries the evidence, not only the diff. Here that means rule enabled, suppressions removed, build green, so a reviewer can confirm the result without reproducing the work locally.
- How much oversight does this need?
- None is required before the run starts. Every claim this ticket makes can be checked by machine, so the agent works straight through and a person reviews the finished pull request like any other.