Skip to content

Commit fd447af

Browse files
committed
Update Rubocop config
* Use the new plugin mechanism for supported cops * Remove TargetRubyVersion and TargetRailsVersion. Both values are automatically inferred from .ruby-version and the Gemfile.lock
1 parent c5ae009 commit fd447af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.rubocop.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
require:
22
- rubocop-capybara
33
- rubocop-factory_bot
4+
- rubocop-rspec_rails
5+
6+
plugins:
47
- rubocop-performance
58
- rubocop-rails
69
- rubocop-rspec
7-
- rubocop-rspec_rails
810

911
inherit_from:
1012
- .rubocop/layout.yml
@@ -17,8 +19,6 @@ inherit_from:
1719
- .rubocop_todo.yml
1820

1921
AllCops:
20-
TargetRubyVersion: 3.4
21-
TargetRailsVersion: 8.0
2222
UseCache: True
2323
NewCops: enable
2424
Exclude:

0 commit comments

Comments
 (0)