Skip to content

Align .rubocop.yml with shared skeleton baseline#182

Merged
tk0miya merged 1 commit into
mainfrom
chore/align-rubocop-baseline
Jul 6, 2026
Merged

Align .rubocop.yml with shared skeleton baseline#182
tk0miya merged 1 commit into
mainfrom
chore/align-rubocop-baseline

Conversation

@tk0miya

@tk0miya tk0miya commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Summary

Align this repository's .rubocop.yml with the shared init-ruby-project
skeleton so linting rules are consistent across all Ruby repositories.

Config changes

  • Add Metrics/BlockLength, Metrics/ClassLength, Style/AccessorGrouping,
    Style/CommentedKeyword
  • Rules sorted in ASCII order to match the skeleton

Project-specific extensions (Metrics/ParameterLists, RbsInline excludes)
are preserved.

Code changes (offenses surfaced by the new cops)

  • Remove now-redundant inline rubocop:disable Metrics/ClassLength
    directives that the baseline Metrics/ClassLength (200) already covers

Verified locally with rubocop (no offenses).

🤖 Generated with Claude Code

Align this repository's RuboCop config with the shared init-ruby-project
skeleton:

- Add Metrics/BlockLength, Metrics/ClassLength, Style/AccessorGrouping,
  Style/CommentedKeyword
- Remove now-redundant inline rubocop:disable Metrics/ClassLength
  directives that the baseline ClassLength (200) already covers

Project-specific extensions (Metrics/ParameterLists, RbsInline excludes)
are preserved. Verified with `rubocop` (no offenses).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tk0miya tk0miya merged commit 35637ae into main Jul 6, 2026
6 checks passed
@tk0miya tk0miya deleted the chore/align-rubocop-baseline branch July 6, 2026 02:55
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