Skip to content

Modernize Rubocop#166

Merged
ssinghi merged 2 commits into
kreeti:masterfrom
tablecheck:modernize-rubocop
Apr 27, 2026
Merged

Modernize Rubocop#166
ssinghi merged 2 commits into
kreeti:masterfrom
tablecheck:modernize-rubocop

Conversation

@johnnyshields
Copy link
Copy Markdown

This PR is based off of #165, please merge that one first.

Rubocop in this project was extremely strange, it was not applying to many files, and had a very long list of customized cops that look like they were generated as boilerplate long ago.

I've redone the .rubocop.yml file to have minimal, sensible defaults, and I've created .rubocop_todo.yml using rubocop --auto-gen-config --exclude-limit 1000. This will allow gradual migration use the modern Rubocop standards across the project; many can be automatically done with rubocop -A.

- Add Github Actions CI, ensure support for latest Ruby and Rails
- Remove cruft: .travis.yml, .codeclimate.yml, .hound.yml
- Remove appraisal gem, use RAILS_VERSION env var in main Gemfile instead.
- Drop support for Ruby prior to 2.7--2.7 is already 5+ years EOL
- Remove UPGRADING message as it's very old.
- Move add_development_dependency to Gemfile, as per latest recommendations
- Fix issues with Rails deprecation silencing in tests
- Switch Rubocop to use modern conventions
- Create .rubocop_todo.yml
- Add a few simple cleanups
@ssinghi ssinghi merged commit 01ceffa into kreeti:master Apr 27, 2026
@johnnyshields johnnyshields deleted the modernize-rubocop branch May 4, 2026 09:25
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.

2 participants