-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
45 lines (41 loc) · 969 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
45
AllCops:
TargetRubyVersion: 2.6
Style/AndOr:
EnforcedStyle: conditionals
Style/ModuleFunction:
Enabled: false
Style/MultilineBlockChain:
Enabled: false
Style/RescueStandardError:
EnforcedStyle: implicit
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Naming/RescuedExceptionsVariableName:
PreferredName: ex
# bad things to re-enable later
Style/Documentation:
Enabled: false
Metrics/LineLength:
Max: 120
Metrics/MethodLength:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/ModuleLength:
Enabled: false
Metrics/ParameterLists:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false