-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.rubocop.yml
49 lines (49 loc) · 880 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
AllCops:
Exclude:
- 'bin/**'
- 'config/**/*'
- 'db/schema.rb'
- 'db/**/*'
- 'lib/**/*'
- 'node_modules/**/*'
- 'vendor/**/*'
DisplayCopNames: true
NewCops: enable
Layout/HashAlignment:
Enabled: false
Layout/EmptyLines:
Enabled: true
Exclude:
- 'Gemfile'
Layout/EmptyLineAfterGuardClause:
Enabled: true
Layout/ExtraSpacing:
Enabled: true
Exclude:
- 'db/migrate/*'
Layout/SpaceInsideArrayLiteralBrackets:
Enabled: true
Exclude:
- 'config/**/*'
Layout/LineLength:
Enabled: true
Max: 120
Exclude:
- 'config/**/*'
Metrics/AbcSize:
Enabled: true
Max: 25
Metrics/BlockLength:
Enabled: true
Exclude:
- 'spec/**/*'
Metrics/ClassLength:
Enabled: true
Max: 120
Metrics/MethodLength:
Enabled: true
Max: 25
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false