forked from danmayer/coverband
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
59 lines (58 loc) · 1.12 KB
/
.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
47
48
49
50
51
52
53
54
55
56
57
58
AllCops:
TargetRubyVersion: 2.4
Exclude:
- docs/**/*
Documentation:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/LineLength:
Max: 120
Metrics/BlockNesting:
Max: 5
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/ModuleLength:
Enabled: false
Metrics/ParameterLists:
Max: 10
Style/AccessorMethodName:
Enabled: false
Style/PredicateName:
Enabled: false
Style/TernaryParentheses:
Enabled: false
Style/MutableConstant:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: true
Style/GuardClause:
Enabled: true
Style/NumericPredicate:
Enabled: false
Style/NumericLiterals:
Enabled: false
Style/NumericLiteralPrefix:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Performance/Casecmp:
Enabled: false
Style/MultilineMethodCallIndentation:
Enabled: true
Style/MultilineOperationIndentation:
Enabled: true
Lint/RescueException:
Enabled: true
Lint/ShadowingOuterLocalVariable:
Enabled: true
Style/FormatString:
Enabled: true
Lint/Eval:
Enabled: true