-
Notifications
You must be signed in to change notification settings - Fork 8
/
.rubocop.yml
52 lines (51 loc) · 962 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
49
50
51
52
AllCops:
TargetRubyVersion: 2.1
Exclude:
- bin/**/*
- script/**/*
- vendor/**/*
- cookbooks/**/*
- bundle/**/*
ClassLength:
Enabled: false
CyclomaticComplexity:
Enabled: false
Documentation:
Enabled: false
Encoding:
Enabled: false
LineLength:
Enabled: false
MethodLength:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/ModuleLength:
Enabled: false
PerceivedComplexity:
Enabled: false
Style/SpaceBeforeFirstArg:
Enabled: true
Style/ClassAndModuleChildren:
Enabled: false
Style/EmptyLinesAroundBlockBody:
Enabled: true
Style/FileName:
Enabled: true
Style/RescueModifier:
Enabled: true
Style/StringLiterals:
Enabled: true
Metrics/BlockLength:
Enabled: false
Style/NumericLiterals:
Enabled: false
Style/ExtraSpacing:
Enabled: true
AllowForAlignment: false
ForceEqualSignAlignment: false
Style/SymbolArray:
Enabled: false
Style/PercentLiteralDelimiters:
PreferredDelimiters:
'%w': '()'