Skip to content

Commit 355d408

Browse files
committed
Adjust rubocop to latest standards
running it, it said: > rubocop-i18n extension supports plugin, specify `plugins: rubocop-i18n` instead of `require: rubocop-i18n` in /home/runner/work/puppet/puppet/.rubocop.yml. For more information, see https://docs.rubocop.org/rubocop/plugin_migration_guide.html.
1 parent 3f07d72 commit 355d408

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.rubocop.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
inherit_from: .rubocop_todo.yml
22

3-
require:
3+
plugins:
44
- rubocop-i18n
55
- rubocop-performance
66
- rubocop-rake
7+
require:
78
- rubocop-rspec
89

910
AllCops:
11+
NewCops: disable
1012
TargetRubyVersion: 3.1
1113
Include:
1214
- 'lib/**/*.rb'

0 commit comments

Comments
 (0)