-
Notifications
You must be signed in to change notification settings - Fork 41
/
.rubocop.yml
51 lines (45 loc) · 839 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
Documentation:
Enabled: false
StringLiterals:
EnforcedStyle: double_quotes
AllCops:
Include:
- '**/Rakefile'
- '**/config.ru'
Exclude:
- 'db/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
- 'bin/**/*'
- 'log/**/*'
- 'spec/**/*'
- 'config/**/*'
Metrics/AbcSize:
Max: 30
Metrics/BlockNesting:
Max: 3
Metrics/ClassLength:
CountComments: false # count full line comments?
Max: 100
Metrics/CyclomaticComplexity:
Max: 6
Metrics/LineLength:
Max: 150
AllowURI: true
URISchemes:
- http
- https
Metrics/MethodLength:
CountComments: false # count full line comments?
Max: 13
Metrics/ParameterLists:
Max: 5
CountKeywordArgs: true
Metrics/PerceivedComplexity:
Max: 7
Style/PerlBackrefs:
Enabled: false
Lint/AmbiguousOperator:
Enabled: false
Rails/Delegate:
Enabled: false