-
Notifications
You must be signed in to change notification settings - Fork 3
/
.rubocop.yml
64 lines (64 loc) · 1.31 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
AllCops:
Exclude:
- '**/bin/**/*'
- '**/test/**/*'
- '**/db/**/*'
- '**/config/**/*'
Security/YAMLLoad:
Enabled: false
Style/EmptyMethod:
EnforcedStyle: expanded
Metrics/AbcSize:
Max: 26
Metrics/CyclomaticComplexity:
Max: 12
Metrics/PerceivedComplexity:
Max: 12
Layout/LineLength:
Max: 160
Layout/FirstHashElementIndentation:
Enabled: false
Layout/ArgumentAlignment:
Enabled: false
Layout/HashAlignment:
Enabled: false
Metrics/MethodLength:
Max: 20
Metrics/ClassLength:
Max: 300
Metrics/BlockLength:
Max: 2000
Metrics/ModuleLength:
Max: 300
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/OptionalBooleanParameter:
Enabled: false
Style/MethodDefParentheses:
Enabled: true
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/RescueStandardError:
EnforcedStyle: implicit
Naming/VariableNumber:
CheckSymbols: false
Style/VariableNumber:
Enabled: false
Style/HashSyntax:
EnforcedShorthandSyntax: never
Gemspec/RequiredRubyVersion:
Enabled: false
Style/WordArray:
Enabled: false
Style/SymbolArray:
Enabled: false
Lint/Debugger:
Enabled: false
Layout/MultilineMethodCallIndentation:
Enabled: false
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Layout/ArrayAlignment:
EnforcedStyle: with_fixed_indentation