-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
86 lines (68 loc) · 1.34 KB
/
.rubocop_todo.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
inherit_from: "./.rubocop.yml"
# 29 offenses
Layout/SpaceAroundOperators:
Enabled: true
# 21 offenses
Layout/SpaceInsideBlockBraces:
Enabled: true
# 16 offenses
Layout/SpaceAroundEqualsInParameterDefault:
Enabled: true
EnforcedStyle: no_space
# 15 offenses
Layout/SpaceBeforeBlockBraces:
Enabled: true
# 15 offenses
Layout/SpaceInsideHashLiteralBraces:
Enabled: true
EnforcedStyle: no_space
# 8 offenses
Layout/EmptyLines:
Enabled: true
# 4 offenses
Layout/EmptyLinesAroundClassBody:
Enabled: true
Exclude:
- 'test/**/*'
# 6 offenses
Layout/EmptyLinesAroundMethodBody:
Enabled: true
# 5 offenses
Layout/EmptyLinesAroundModuleBody:
Enabled: true
# 5 offenses
Layout/IndentationWidth:
Enabled: true
# 3 offenses
Layout/AccessModifierIndentation:
EnforcedStyle: indent
# 2 offenses
Style/WhileUntilModifier:
Enabled: true
# 1 offense
Style/TernaryParentheses:
Enabled: true
# >200 offenses for 80
# 58 offenses for 100
# 18 offenses for 120
Metrics/LineLength:
Max: 120
AllowHeredoc: true
AllowURI: true
URISchemes:
- http
- https
IgnoreCopDirectives: false
IgnoredPatterns: []
# 1 offense
Metrics/ParameterLists:
Max: 5
# 1 offense
Performance/RedundantMatch:
Enabled: true
# 1 offense
Performance/RedundantBlockCall:
Enabled: true
# 1 offense
Performance/StringReplacement:
Enabled: true