-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rubocop.yml
More file actions
39 lines (36 loc) · 748 Bytes
/
.rubocop.yml
File metadata and controls
39 lines (36 loc) · 748 Bytes
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
AllCops:
Exclude:
- "bin/*"
- "db/**/*"
- "config/**/*"
- "Guardfile"
- "Rakefile"
- "node_modules/**/*"
DisplayCopNames: true
Layout/LineLength:
Max: 120
Metrics/MethodLength:
Include: ["app/controllers/*"]
Max: 200
Metrics/AbcSize:
Include: ["app/controllers/*"]
Max: 30
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Metrics/ClassLength:
Max: 150
Metrics/BlockLength:
ExcludedMethods: ["describe"]
Style/Documentation:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/MutableConstant:
Enabled: false
Layout/ExtraSpacing:
AllowForAlignment: false
Layout/MultilineMethodCallIndentation:
Enabled: true
EnforcedStyle: indented