-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.rubocop.yml
46 lines (45 loc) · 864 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
44
45
46
AllCops:
NewCops: enable
Exclude:
- "bin/**/*"
- "config/**/*"
- "node_modules/**/*"
- "script/**/*"
- "support/**/*"
- "tmp/**/*"
- "test/**/*"
- "db/schema.rb"
Style/ConditionalAssignment:
Enabled: true
Style/StringLiterals:
Enabled: true
Style/RedundantReturn:
Enabled: true
Style/Documentation:
Enabled: true
Style/WordArray:
Enabled: true
Metrics/AbcSize:
Enabled: false
Style/MutableConstant:
Enabled: false
Style/SignalException:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Style/MissingRespondToMissing:
Enabled: false
Lint/MissingSuper:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Layout/LineLength:
Max: 2000
Style/EmptyMethod:
Enabled: false
Bundler/OrderedGems:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/MethodLength:
Max: 1000