Skip to content

Fix lint offenses and enforce lint in CI - #300

Merged
pcai merged 12 commits into
mainfrom
chore/lint-cleanup
Sep 10, 2026
Merged

Fix lint offenses and enforce lint in CI#300
pcai merged 12 commits into
mainfrom
chore/lint-cleanup

Conversation

@pcai

@pcai pcai commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Cleans up all RuboCop offenses across the codebase and makes the lint CI job required.

  • Adds frozen_string_literal magic comments; fixes the one real mutation hazard
  • Converts compact class/module declarations to nested, removes stale end comments
  • Fixes Style, Lint, and Metrics cops; freezes mutable constants; adds documentation comments
  • Renames internal builder/parser parameters; keeps public API names via targeted rubocop:disable comments for backward compatibility
  • Gemspec/RequiredRubyVersion disabled with an explanatory comment: gemspec floors stay intentionally low
  • Removes continue-on-error from the lint job so RuboCop failures now fail CI

Tests: bundle exec rspec — 59 examples, 0 failures. bundle exec rubocop — 0 offenses (was 4,622).

@pcai
pcai merged commit 0029cab into main Sep 10, 2026
30 checks passed
@pcai
pcai deleted the chore/lint-cleanup branch September 10, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant