Skip to content

Commit f86b7df

Browse files
chore: use plugins instead of require to load rubocop extensions
In `Rubocop 1.72` was introduced a new API for Rubocop extensions. See the migration guide here: https://docs.rubocop.org/rubocop/plugin_migration_guide.html This removes the following `rubocop` suggestion that is being raised each time we execute `rubocop:` ``` rubocop-performance extension supports plugin, specify `plugins: rubocop-performance` instead of `require: rubocop-performance` in /mi_carrera/.rubocop.yml. For more information, see https://docs.rubocop.org/rubocop/plugin_migration_guide.html. rubocop-rails extension supports plugin, specify `plugins: rubocop-rails` instead of `require: rubocop-rails` in /mi_carrera/.rubocop.yml. For more information, see https://docs.rubocop.org/rubocop/plugin_migration_guide.html. ```
1 parent 2d826d1 commit f86b7df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.rubocop.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require:
1+
plugins:
22
- rubocop-performance
33
- rubocop-rails
44

0 commit comments

Comments
 (0)