Skip to content

Commit 0dc6ea8

Browse files
committed
Use RuboCop Performance 1.24 for development
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. ```
1 parent 897b22b commit 0dc6ea8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
inherit_from: .rubocop_todo.yml
44
plugins:
55
- rubocop-internal_affairs
6+
- rubocop-performance
67
- rubocop-rails
78

89
require:
9-
- rubocop-performance
1010
- rubocop-rspec
1111

1212
AllCops:

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ gem 'prism'
1111
gem 'rake'
1212
gem 'rspec'
1313
gem 'rubocop', github: 'rubocop/rubocop'
14-
gem 'rubocop-performance', '~> 1.23.0'
14+
gem 'rubocop-performance', '~> 1.24.0'
1515
gem 'rubocop-rspec', '~> 3.3.0'
1616
gem 'simplecov'
1717
gem 'test-queue'

0 commit comments

Comments
 (0)