-
Notifications
You must be signed in to change notification settings - Fork 314
/
.rubocop.yml
50 lines (49 loc) · 1.09 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
# TODO: Enable rubocop-rspec only along with all the fixes it demands.
# require: rubocop-rspec
AllCops:
TargetRubyVersion: 2.6
NewCops: enable
Gemspec/DevelopmentDependencies:
Enabled: false
Gemspec/RequireMFA:
Enabled: false
Lint/AmbiguousOperator:
Enabled: false
Lint/FormatParameterMismatch:
Enabled: false
Layout/LineLength:
Max: 120
Metrics/BlockLength:
Max: 400
Naming/VariableNumber:
Enabled: false
Style/AccessorGrouping:
EnforcedStyle: separated
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: consistent_comma
Style/FormatString:
Enabled: false
Style/FormatStringToken:
Enabled: false
Style/Documentation:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/ParameterLists:
Max: 10
Metrics/PerceivedComplexity:
Enabled: false
Style/SymbolArray:
MinSize: 1
Style/EmptyCaseCondition:
Enabled: false