Skip to content

Commit 6cae79d

Browse files
committed
rubocop: load plugins as actual plugins
when they are loaded via `require`, they will log a bunch of warnings into CI: ``` rubocop-i18n extension supports plugin, specify `plugins: rubocop-i18n` instead of `require: rubocop-i18n` in /home/runner/work/puppet/puppet/.rubocop.yml. rubocop-performance extension supports plugin, specify `plugins: rubocop-performance` instead of `require: rubocop-performance` in /home/runner/work/puppet/puppet/.rubocop.yml. rubocop-rake extension supports plugin, specify `plugins: rubocop-rake` instead of `require: rubocop-rake` in /home/runner/work/puppet/puppet/.rubocop.yml. rubocop-rspec extension supports plugin, specify `plugins: rubocop-rspec` instead of `require: rubocop-rspec` in /home/runner/work/puppet/puppet/.rubocop.yml. ```
1 parent 9636456 commit 6cae79d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.rubocop.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
---
12
inherit_from: .rubocop_todo.yml
23

3-
require:
4+
plugins:
45
- rubocop-i18n
56
- rubocop-performance
67
- rubocop-rake

0 commit comments

Comments
 (0)