-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.rubocop.yml
59 lines (42 loc) · 812 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
53
54
55
56
57
58
59
Lint/AmbiguousBlockAssociation:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/LineLength:
Max: 100
Metrics/ClassLength:
CountComments: false
Max: 250
Metrics/MethodLength:
CountComments: false
Max: 30
Metrics/CyclomaticComplexity:
Max: 7
Style/GuardClause:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Style/TrailingCommaInArrayLiteral:
Enabled: false
Style/TrailingCommaInHashLiteral:
Enabled: false
Style/RedundantReturn:
Enabled: false
Style/SafeNavigation:
Enabled: false
Style/PredicateName:
NamePrefix:
- is_
Metrics/AbcSize:
Max: 45
Metrics/PerceivedComplexity:
Max: 10
Documentation:
Enabled: false
AllCops:
Exclude:
- bin/**/*
- db/schema.rb
TargetRubyVersion: 2.4
Layout/ExtraSpacing:
AllowForAlignment: true