-
Notifications
You must be signed in to change notification settings - Fork 3
/
.rubocop.yml
48 lines (48 loc) · 944 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
46
47
48
Metrics/LineLength:
Max: 120
Metrics/MethodLength:
Max: 50
Metrics/ParameterLists:
Max: 12
Metrics/AbcSize:
Max: 50
Metrics/CyclomaticComplexity:
Max: 10
Metrics/PerceivedComplexity:
Max: 10
Style/GuardClause:
MinBodyLength: 5
Style/AsciiComments:
Enabled: false
Style/Documentation:
Enabled: false
Lint/AmbiguousRegexpLiteral:
Enabled: false
Layout/DefEndAlignment:
AutoCorrect: true
Layout/EndAlignment:
AutoCorrect: true
Style/BracesAroundHashParameters:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/AutoResourceCleanup:
Enabled: true
Style/CollectionMethods:
Enabled: true
Style/Encoding:
Enabled: true
Style/MethodCalledOnDoEndBlock:
Enabled: true
Layout/MultilineAssignmentLayout:
Enabled: true
Style/OptionHash:
Enabled: true
Style/StringMethods:
Enabled: true
Style/SymbolArray:
Enabled: true
Style/NonNilCheck:
IncludeSemanticChanges: true
Style/Send:
Enabled: true