@@ -47,14 +47,6 @@ Lint/AmbiguousBlockAssociation:
47
47
Exclude :
48
48
- ' spec/grape/dsl/routing_spec.rb'
49
49
50
- # Offense count: 4
51
- Lint/DisjunctiveAssignmentInConstructor :
52
- Exclude :
53
- - ' lib/grape/namespace.rb'
54
- - ' lib/grape/path.rb'
55
- - ' lib/grape/router.rb'
56
- - ' lib/grape/router/pattern.rb'
57
-
58
50
# Offense count: 1
59
51
# Cop supports --auto-correct.
60
52
Lint/NonDeterministicRequireOrder :
@@ -67,12 +59,6 @@ Lint/RedundantCopDisableDirective:
67
59
Exclude :
68
60
- ' lib/grape/router/attribute_translator.rb'
69
61
70
- # Offense count: 1
71
- # Cop supports --auto-correct.
72
- Lint/RedundantRequireStatement :
73
- Exclude :
74
- - ' lib/grape.rb'
75
-
76
62
# Offense count: 2
77
63
# Cop supports --auto-correct.
78
64
Lint/ToJSON :
@@ -144,12 +130,6 @@ Performance/InefficientHashSearch:
144
130
Exclude :
145
131
- ' spec/grape/validations/validators/values_spec.rb'
146
132
147
- # Offense count: 1
148
- # Cop supports --auto-correct.
149
- Performance/RegexpMatch :
150
- Exclude :
151
- - ' lib/grape/middleware/versioner/path.rb'
152
-
153
133
# Offense count: 5
154
134
# Cop supports --auto-correct.
155
135
Style/EmptyLambdaParameter :
@@ -174,12 +154,6 @@ Style/ExpandPathArguments:
174
154
Style/FormatStringToken :
175
155
EnforcedStyle : template
176
156
177
- # Offense count: 1
178
- # Cop supports --auto-correct.
179
- Style/HashTransformValues :
180
- Exclude :
181
- - ' lib/grape/api.rb'
182
-
183
157
# Offense count: 23
184
158
# Cop supports --auto-correct.
185
159
Style/IfUnlessModifier :
@@ -205,15 +179,6 @@ Style/MethodMissingSuper:
205
179
Exclude :
206
180
- ' lib/grape/router/attribute_translator.rb'
207
181
208
- # Offense count: 5
209
- # Cop supports --auto-correct.
210
- # Configuration parameters: EnforcedStyle.
211
- # SupportedStyles: literals, strict
212
- Style/MutableConstant :
213
- Exclude :
214
- - ' lib/grape/middleware/versioner/header.rb'
215
- - ' lib/grape/router/route.rb'
216
-
217
182
# Offense count: 1
218
183
# Cop supports --auto-correct.
219
184
# Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
0 commit comments