-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.rubocop.yml
44 lines (38 loc) · 880 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
AllCops:
TargetRubyVersion: 2.3
# false positives on inline if-blocks
Layout/ElseAlignment:
Enabled: false
Layout/EndAlignment:
Enabled: false
# tabs > spaces
Layout/IndentationWidth:
Enabled: false
Layout/Tab:
Enabled: false
Layout/FirstHashElementIndentation:
Enabled: false
# false positives on clear function calls
Lint/AmbiguousOperator:
Enabled: false
# too tight margins
Metrics/AbcSize:
Enabled: false
Metrics/ClassLength:
Max: 180
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/LineLength:
Max: 100
Metrics/MethodLength:
Max: 40
Metrics/PerceivedComplexity:
Enabled: false
# style disagreement
Style/ClassAndModuleChildren:
Enabled: false
# TODO
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false