Skip to content

Commit

Permalink
Use RuboCop Performance 1.24 for development
Browse files Browse the repository at this point in the history
This commit uses RuboCop Performance 1.24 for development and suppresses the following warning:

```console
$ bundle exec rubocop
rubocop-performance extension supports plugin, specify `plugins: rubocop-performance`
instead of `require: rubocop-performance` in /Users/koic/src/github.com/rubocop/rubocop-rails/.rubocop.yml.
For more information, see https://docs.rubocop.org/rubocop/plugin_migration_guide.html.
```
  • Loading branch information
koic committed Feb 15, 2025
1 parent 897b22b commit 0dc6ea8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
inherit_from: .rubocop_todo.yml
plugins:
- rubocop-internal_affairs
- rubocop-performance
- rubocop-rails

require:
- rubocop-performance
- rubocop-rspec

AllCops:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ gem 'prism'
gem 'rake'
gem 'rspec'
gem 'rubocop', github: 'rubocop/rubocop'
gem 'rubocop-performance', '~> 1.23.0'
gem 'rubocop-performance', '~> 1.24.0'
gem 'rubocop-rspec', '~> 3.3.0'
gem 'simplecov'
gem 'test-queue'
Expand Down

0 comments on commit 0dc6ea8

Please sign in to comment.