-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop.yml
58 lines (56 loc) · 1.04 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
require:
# rubocop-minitest
AllCops:
NewCops: enable
Include:
- "**/Gemfile"
- "**/Rakefile"
- "**/*.rb"
- "**/*.ru"
- "**/Rakefile"
- "**/*.rake"
- "**/*.jb"
Exclude:
- "bin/*"
- "documents/**/*"
- "test/fixtures/**/*"
Style/Documentation:
Enabled: false
Layout/LineLength:
Max: 140
Metrics/AbcSize:
Max: 20
Metrics/MethodLength:
Max: 20
Metrics/BlockLength:
Enabled: false
Metrics/CyclomaticComplexity:
Max: 7
Metrics/ClassLength:
Max: 210
Metrics/ModuleLength:
Max: 200
Style/TrivialAccessors:
Enabled: true
Style/MixinUsage:
Enabled: true
Style/YodaCondition:
EnforcedStyle: forbid_for_equality_operators_only
Naming/PredicateName:
Enabled: true
Layout/SpaceAroundMethodCallOperator:
Enabled: true
Lint/RaiseException:
Enabled: true
Lint/StructNewOverride:
Enabled: true
Style/ExponentialNotation:
Enabled: true
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true
Naming/VariableNumber:
Enabled: false