From 4471ad6dc5bddad6d5edce8ed2055ae0205e7aa3 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Fri, 7 Mar 2025 15:32:54 +0900 Subject: [PATCH] Use RuboCop Plugin Follow-up to https://github.com/rails/rails/pull/54678. This PR suppresses the folloiwng RuboCop's warnings: ```console $ bundle exec rubocop rubocop-performance extension supports plugin, specify `plugins: rubocop-performance` instead of `require: rubocop-performance` in /Users/koic/src/github.com/rsim/oracle-enhanced/.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 /Users/koic/src/github.com/rsim/oracle-enhanced/.rubocop.yml. For more information, see https://docs.rubocop.org/rubocop/plugin_migration_guide.html. rubocop-rspec extension supports plugin, specify `plugins: rubocop-rspec` instead of `require: rubocop-rspec` in /Users/koic/src/github.com/rsim/oracle-enhanced/.rubocop.yml. For more information, see https://docs.rubocop.org/rubocop/plugin_migration_guide.html. ``` Please see here for details: https://docs.rubocop.org/rubocop/plugin_migration_guide.html#for-plugin-users --- .rubocop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index ee162db2e..4d8384c46 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,4 +1,4 @@ -require: +plugins: - rubocop-performance - rubocop-rails - rubocop-rspec