forked from dannkkie/tic-tac-toe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
42 lines (39 loc) · 791 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
AllCops:
Exclude:
- "bin/*"
- "db/**/*"
- "config/**/*"
- "Guardfile"
- "Rakefile"
DisplayCopNames: true
Layout/LineLength:
Max: 120
Metrics/MethodLength:
Include: ["app/controllers/*"]
Max: 20
Metrics/AbcSize:
Include: ["app/controllers/*"]
Max: 30
Metrics/ClassLength:
Max: 150
Metrics/BlockLength:
ExcludedMethods: ["describe"]
Metrics/ModuleLength:
Max: 150
Metrics/CyclomaticComplexity:
Max: 100
Metrics/PerceivedComplexity:
Max: 100
Style/Documentation:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/MultipleComparison:
Enabled: false
Layout/HashAlignment:
EnforcedColonStyle: key
Layout/ExtraSpacing:
AllowForAlignment: false
Layout/MultilineMethodCallIndentation:
Enabled: true
EnforcedStyle: indented