Skip to content

Commit 06a54d7

Browse files
stefannibrasilcompwron
authored andcommitted
Fixes Rubocop require/plugin warning
When running rubocop, this warning is printed: rubocop-factory_bot extension supports plugin, specify `plugins: rubocop-factory_bot` instead of `require: rubocop-factory_bot` in /home/runner/work/casa/casa/.rubocop.yml. For more information, see https://docs.rubocop.org/rubocop/plugin_migration_guide.html. To fix it, we need to add that library as a plugin: https://docs.rubocop.org/rubocop/latest/plugin_migration_guide.html#for-plugin-users
1 parent 944ef60 commit 06a54d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
require:
22
- standard
3-
- rubocop-factory_bot
43

54
plugins:
65
- rubocop-capybara
6+
- rubocop-factory_bot
77
- rubocop-rspec
88
- rubocop-rspec_rails
99

0 commit comments

Comments
 (0)