-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
54 lines (43 loc) · 862 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
AllCops:
Include:
- Rakefile
- config.ru
- lib/**/*.rake
- Gemfile
- '**/*.rb'
Exclude:
- 'vendor/**/*'
- 'db/migrate/**/*'
- 'db/schema.rb'
- 'bin/**/*'
- 'test/**/*'
Style/BlockComments:
Exclude:
- 'spec/spec_helper.rb'
Style/ClassAndModuleChildren:
Enabled: false
Style/StringLiterals:
EnforcedStyle: single_quotes
Style/SymbolArray:
EnforcedStyle: brackets
Metrics/LineLength:
Max: 190
Style/Documentation:
Enabled: false
# Offense count: 1
Metrics/AbcSize:
Max: 18
# Offense count: 8
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
Max: 72
# Offense count: 1
Metrics/CyclomaticComplexity:
Max: 9
# Offense count: 2
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 13
# Offense count: 1
Metrics/PerceivedComplexity:
Max: 9