Skip to content

Commit 37ffcc2

Browse files
authored
Merge pull request #2327 from olleolleolle/fix-rubocop-config-to-use-plugins
chore: Configure plugins in .rubocop.yml
2 parents 8ab79c9 + 3b16b96 commit 37ffcc2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.rubocop.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,17 @@ AllCops:
99
- bin/**/*
1010
- vendor/bundle/**/*
1111

12-
require:
13-
- rubocop
12+
plugins:
13+
- rubocop-performance
1414
- rubocop-rails
1515
- rubocop-rspec
16-
- rubocop-performance
1716

1817
Layout/LineLength:
1918
Max: 120
2019
Exclude:
2120
- "spec/**/*"
21+
- "app/views/pages/*.haml"
22+
- "app/views/**/*.erb"
2223

2324
Layout/EndOfLine:
2425
EnforcedStyle: lf

0 commit comments

Comments
 (0)