-
Notifications
You must be signed in to change notification settings - Fork 4
/
.rubocop.yml
52 lines (43 loc) · 1004 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
# Offense count: 1
Metrics/AbcSize:
Max: 120
# Offense count: 1
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
Max: 42
# Offense count: 1
Metrics/CyclomaticComplexity:
Max: 42
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 100
# Offense count: 1
Metrics/PerceivedComplexity:
Max: 42
# Offense count: 1
Security/Eval:
Exclude:
- 'lib/vj.rb'
# Offense count: 1
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'lib/vj.rb'
# Offense count: 7
# Configuration parameters: EnforcedStyle.
# SupportedStyles: annotated, template, unannotated
Style/FormatStringToken:
Exclude:
- 'lib/vj.rb'
# Offense count: 2
# Configuration parameters: AllowedVariables.
Style/GlobalVars:
Exclude:
- 'lib/vj.rb'
# Offense count: 5
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 200