forked from taginfo/taginfo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
66 lines (63 loc) · 1.41 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
59
60
61
62
63
64
65
66
AllCops:
NewCops: enable
Layout/EmptyLinesAroundClassBody:
EnforcedStyle: empty_lines
Layout/IndentationWidth:
Width: 4
Layout/SpaceBeforeBlockBraces:
EnforcedStyle: no_space
Layout/SpaceInsidePercentLiteralDelimiters:
Enabled: False
Layout/SpaceInsideStringInterpolation:
Enabled: false
Naming/AccessorMethodName:
Enabled: False
Style/ClassVars:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Style/NegatedIf:
Enabled: false
Style/NumericPredicate:
EnforcedStyle: comparison
Style/RegexpLiteral:
Enabled: false
Style/StringConcatenation:
Enabled: false
Style/TrailingCommaInArrayLiteral:
Enabled: false
# The defaults are rather strict here, make them quite lenient for the time
# being, we can tighten them later
Metrics/AbcSize:
Max: 200
Metrics/BlockLength:
Max: 100
Metrics/BlockNesting:
Max: 5
Metrics/ClassLength:
Max: 400
Metrics/CyclomaticComplexity:
Max: 50
Metrics/MethodLength:
Max: 150
Metrics/PerceivedComplexity:
Max: 100
# Too many to fix for now, look at these later
Layout/DotPosition:
Enabled: False
Layout/HashAlignment:
Enabled: False
Layout/FirstHashElementIndentation:
Enabled: False
Layout/LineLength:
Enabled: False
Layout/MultilineMethodCallIndentation:
Enabled: False
Layout/SpaceInsideArrayLiteralBrackets:
Enabled: False
Style/HashSyntax:
Enabled: False
Style/StringLiterals:
Enabled: False