-
Notifications
You must be signed in to change notification settings - Fork 11
/
.rubocop.yml
83 lines (60 loc) · 1.35 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
AllCops:
TargetRubyVersion: 2.6
DisabledByDefault: true
Style/HashSyntax:
Enabled: true
Layout/EmptyLines:
Enabled: true
Layout/TrailingEmptyLines:
Enabled: true
Layout/TrailingWhitespace:
Enabled: false
Style/BarePercentLiterals:
EnforcedStyle: percent_q
Enabled: true
# EnforcedStyle: empty_lines => 16 offenses
# EnforcedStyle: no_empty_lines => 0 offense
Layout/EmptyLinesAroundBlockBody:
EnforcedStyle: no_empty_lines
Enabled: true
Style/MethodDefParentheses:
EnforcedStyle: require_parentheses
Enabled: true
Naming/MethodName:
EnforcedStyle: snake_case
Enabled: true
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
EnforcedStyleForEmptyBraces: no_space
Enabled: true
Layout/SpaceInsideStringInterpolation:
EnforcedStyle: no_space
Enabled: true
Naming/VariableName:
EnforcedStyle: snake_case
Enabled: true
Style/MissingElse:
EnforcedStyle: case
Enabled: true
Lint/Debugger:
Enabled: true
Layout/DefEndAlignment:
Enabled: true
Lint/DeprecatedClassMethods:
Enabled: true
Lint/DuplicateCaseCondition:
Enabled: true
Lint/DuplicateMethods:
Enabled: true
Lint/DuplicateHashKey:
Enabled: true
Lint/ElseLayout:
Enabled: true
Style/EndBlock:
Enabled: true
Lint/SuppressedException:
Enabled: true
Lint/ImplicitStringConcatenation:
Enabled: true
Lint/MultipleComparison:
Enabled: true