1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2016-03-14 21:22:57 +0300 using RuboCop version 0.35.1 .
3
+ # on 2016-04-26 16:12:14 -0400 using RuboCop version 0.39.0 .
4
4
# The point is for the user to remove these configuration records
5
5
# one by one as the offenses are removed from the code base.
6
6
# Note that changes in the inspected code, or installation of new
7
7
# versions of RuboCop, may require this file to be generated again.
8
8
9
9
# Offense count: 1
10
- Lint/NestedMethodDefinition :
10
+ Lint/IneffectiveAccessModifier :
11
11
Exclude :
12
- - ' lib/grape/util/strict_hash_configuration .rb'
12
+ - ' lib/grape/router .rb'
13
13
14
14
# Offense count: 39
15
15
Metrics/AbcSize :
@@ -19,29 +19,30 @@ Metrics/AbcSize:
19
19
Metrics/BlockNesting :
20
20
Max : 4
21
21
22
- # Offense count: 6
22
+ # Offense count: 7
23
23
# Configuration parameters: CountComments.
24
24
Metrics/ClassLength :
25
- Max : 281
25
+ Max : 267
26
26
27
27
# Offense count: 24
28
28
Metrics/CyclomaticComplexity :
29
29
Max : 14
30
30
31
- # Offense count: 853
32
- # Configuration parameters: AllowURI, URISchemes.
31
+ # Offense count: 871
32
+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
33
+ # URISchemes: http, https
33
34
Metrics/LineLength :
34
35
Max : 215
35
36
36
- # Offense count: 48
37
+ # Offense count: 49
37
38
# Configuration parameters: CountComments.
38
39
Metrics/MethodLength :
39
- Max : 36
40
+ Max : 34
40
41
41
- # Offense count: 8
42
+ # Offense count: 7
42
43
# Configuration parameters: CountComments.
43
44
Metrics/ModuleLength :
44
- Max : 277
45
+ Max : 212
45
46
46
47
# Offense count: 15
47
48
Metrics/PerceivedComplexity :
@@ -50,6 +51,10 @@ Metrics/PerceivedComplexity:
50
51
# Offense count: 44
51
52
# Cop supports --auto-correct.
52
53
# Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods.
54
+ # SupportedStyles: line_count_based, semantic, braces_for_chaining
55
+ # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
56
+ # FunctionalMethods: let, let!, subject, watch
57
+ # IgnoredMethods: lambda, proc, it
53
58
Style/BlockDelimiters :
54
59
Exclude :
55
60
- ' spec/grape/api_spec.rb'
@@ -58,7 +63,6 @@ Style/BlockDelimiters:
58
63
- ' spec/grape/request_spec.rb'
59
64
60
65
# Offense count: 111
61
- # Configuration parameters: Exclude.
62
66
Style/Documentation :
63
67
Enabled : false
64
68
@@ -70,7 +74,14 @@ Style/DoubleNegation:
70
74
- ' lib/grape/middleware/versioner/header.rb'
71
75
- ' lib/grape/path.rb'
72
76
77
+ # Offense count: 1
78
+ # Configuration parameters: MinBodyLength.
79
+ Style/GuardClause :
80
+ Exclude :
81
+ - ' lib/grape/endpoint.rb'
82
+
73
83
# Offense count: 14
74
84
# Configuration parameters: EnforcedStyle, SupportedStyles.
85
+ # SupportedStyles: compact, exploded
75
86
Style/RaiseArgs :
76
87
Enabled : false
0 commit comments