-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
66 lines (51 loc) · 985 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
60
61
62
63
64
65
66
## https://github.com/rubocop-hq/rubocop/blob/master/config/default.yml
##
Documentation:
Enabled: false
require: rubocop-performance
AllCops:
NewCops: enable
EnabledByDefault: true
Exclude:
- 'db/**/*'
- 'config/**/*'
- 'lib/**/*'
- 'bin/**/*'
- 'tmp/**/*'
- 'spec/spec_helper.rb'
- 'spec/rails_helper.rb'
- 'node_modules/**/*'
- 'vendor/**/*'
- 'Guardfile'
- 'Rakefile'
Metrics:
Exclude:
- 'spec/**/*'
Layout/LineLength:
Max: 120
Exclude:
- 'spec/**/*'
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
Metrics/MethodLength:
Max: 12
Metrics/AbcSize:
Enabled: false
Lint/EmptyBlock:
Enabled: false
Style/Copyright:
Enabled: false
Bundler/GemVersion:
Enabled: false
Lint/ConstantResolution:
Enabled: false
Style/DocumentationMethod:
Enabled: false
Naming/VariableNumber:
Enabled: false
Bundler/GemComment:
Enabled: false
Style/MethodCalledOnDoEndBlock:
Exclude:
- 'spec/**/*'