-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
43 lines (43 loc) · 824 Bytes
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
require:
- rubocop-performance
- rubocop-rails
- rubocop-rspec
AllCops:
TargetRubyVersion: 2.6
NewCops: enable
Exclude:
- "db/**/*"
- "script/**/*"
- "bin/**/*"
- "vendor/**/*"
- "app/helpers/ui_helper*"
- "spec/spec_helper*"
- "spec/rails_helper*"
- Gemfile*
Metrics/MethodLength:
Max: 15
Metrics/AbcSize:
Max: 25
Style/MethodCallWithoutArgsParentheses:
Enabled: false
Metrics/BlockLength:
Exclude:
- "config/**/*"
- "spec/**/*"
- "lib/tasks/**/*"
Layout/LineLength:
Exclude:
- "config/**/*"
RSpec/MultipleExpectations:
Enabled: false
RSpec/InstanceVariable:
Enabled: false
RSpec/UnspecifiedException:
Enabled: false
RSpec/ExampleLength:
Max: 10
RSpec/MultipleMemoizedHelpers:
Max: 10
Naming/PredicateName:
Exclude:
- "app/graphql/**/*"