Exclude fixture and generated paths from rubocop #372

Closed
opened 2026-08-14 20:02:04 +00:00 by jared · 2 comments
Owner

Parent

#368

What to build

Rubocop no longer lints eval fixtures and generated files. The ~151 Lint/Syntax offenses in bin/eval paths (of 173 total) disappear from the offense count because those paths carry Exclude entries in the rubocop config, not because anything was autocorrected.

Acceptance criteria

  • Rubocop config has Exclude entries covering the fixture/generated paths responsible for the Lint/Syntax offenses
  • Before/after rubocop run recorded in the ticket showing the Lint/Syntax count drop
  • No source files edited — config-only change

Blocked by

  • None — can start immediately.
## Parent #368 ## What to build Rubocop no longer lints eval fixtures and generated files. The ~151 Lint/Syntax offenses in bin/eval paths (of 173 total) disappear from the offense count because those paths carry Exclude entries in the rubocop config, not because anything was autocorrected. ## Acceptance criteria - [ ] Rubocop config has Exclude entries covering the fixture/generated paths responsible for the Lint/Syntax offenses - [ ] Before/after `rubocop` run recorded in the ticket showing the Lint/Syntax count drop - [ ] No source files edited — config-only change ## Blocked by - None — can start immediately.
Author
Owner

Started: adding rubocop Exclude entries for fixture/generated paths.

Started: adding rubocop Exclude entries for fixture/generated paths.
Author
Owner

Resolution

Done: Added AllCops Exclude entries in root .rubocop.yml for 11 eval-harness fixture/generated paths

Evidence: Commit 1ff0992; Lint/Syntax offenses 173 -> 11, total 3309 -> 3148

Follow-ups: #379 Add TargetRubyVersion to root .rubocop.yml (covers the 11 remaining Lint/Syntax offenses)

## Resolution **Done:** Added AllCops Exclude entries in root .rubocop.yml for 11 eval-harness fixture/generated paths **Evidence:** Commit 1ff0992; Lint/Syntax offenses 173 -> 11, total 3309 -> 3148 **Follow-ups:** #379 Add TargetRubyVersion to root .rubocop.yml (covers the 11 remaining Lint/Syntax offenses)
jared closed this issue 2026-08-14 20:11:01 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#372
No description provided.