11# This configuration was generated by
22# `rubocop --auto-gen-config --no-auto-gen-timestamp`
3- # using RuboCop version 1.75.8 .
3+ # using RuboCop version 1.79.2 .
44# The point is for the user to remove these configuration records
55# one by one as the offenses are removed from the code base.
66# Note that changes in the inspected code, or installation of new
77# versions of RuboCop, may require this file to be generated again.
88
9+ # Offense count: 1
10+ # This cop supports unsafe autocorrection (--autocorrect-all).
11+ # Configuration parameters: RequireParenthesesForMethodChains.
12+ Lint/AmbiguousRange :
13+ Exclude :
14+ - ' test/common_test_suite_test.rb'
15+
916# Offense count: 4
1017# This cop supports unsafe autocorrection (--autocorrect-all).
1118# Configuration parameters: AllowSafeAssignment.
@@ -21,13 +28,6 @@ Lint/MissingSuper:
2128 Exclude :
2229 - ' lib/json-schema/attributes/formats/custom.rb'
2330
24- # Offense count: 2
25- # This cop supports unsafe autocorrection (--autocorrect-all).
26- Lint/NonDeterministicRequireOrder :
27- Exclude :
28- - ' lib/json-schema.rb'
29- - ' test/support/test_helper.rb'
30-
3131# Offense count: 2
3232# Configuration parameters: AllowComments, AllowNil.
3333Lint/SuppressedException :
@@ -146,7 +146,7 @@ Style/FormatString:
146146Style/FormatStringToken :
147147 EnforcedStyle : unannotated
148148
149- # Offense count: 117
149+ # Offense count: 118
150150# This cop supports unsafe autocorrection (--autocorrect-all).
151151# Configuration parameters: EnforcedStyle.
152152# SupportedStyles: always, always_true, never
@@ -183,109 +183,31 @@ Style/IfUnlessModifier:
183183 - ' lib/json-schema/schema/validator.rb'
184184 - ' lib/json-schema/validator.rb'
185185
186- # Offense count: 1
187- # This cop supports unsafe autocorrection (--autocorrect-all).
188- # Configuration parameters: AllowedMethods.
189- # AllowedMethods: nonzero?
190- Style/IfWithBooleanLiteralBranches :
191- Exclude :
192- - ' lib/json-schema/validator.rb'
193-
194- # Offense count: 6
195- # This cop supports safe autocorrection (--autocorrect).
196- # Configuration parameters: EnforcedStyle.
197- # SupportedStyles: line_count_dependent, lambda, literal
198- Style/Lambda :
199- Exclude :
200- - ' lib/json-schema/validator.rb'
201- - ' test/custom_format_test.rb'
202-
203186# Offense count: 1
204187# This cop supports unsafe autocorrection (--autocorrect-all).
205188Style/MapToHash :
206189 Exclude :
207190 - ' lib/json-schema/schema.rb'
208191
209- # Offense count: 12
210- # This cop supports safe autocorrection (--autocorrect).
211- # Configuration parameters: EnforcedStyle.
212- # SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
213- Style/MethodDefParentheses :
214- Exclude :
215- - ' lib/json-schema/util/uuid.rb'
216- - ' lib/json-schema/validator.rb'
217-
218192# Offense count: 1
219193Style/MultilineBlockChain :
220194 Exclude :
221195 - ' lib/json-schema/attribute.rb'
222196
223- # Offense count: 2
224- # This cop supports safe autocorrection (--autocorrect).
225- Style/MultilineIfThen :
226- Exclude :
227- - ' lib/json-schema/util/uuid.rb'
228-
229- # Offense count: 3
230- # This cop supports safe autocorrection (--autocorrect).
231- Style/MultilineWhenThen :
232- Exclude :
233- - ' lib/json-schema/schema.rb'
234-
235- # Offense count: 11
197+ # Offense count: 8
236198# This cop supports unsafe autocorrection (--autocorrect-all).
237199# Configuration parameters: EnforcedStyle.
238200# SupportedStyles: literals, strict
239201Style/MutableConstant :
240202 Exclude :
241203 - ' lib/json-schema/attribute.rb'
242- - ' lib/json-schema/attributes/formats/date.rb'
243- - ' lib/json-schema/attributes/formats/date_time.rb'
244- - ' lib/json-schema/attributes/formats/time.rb'
245204 - ' lib/json-schema/errors/validation_error.rb'
246205 - ' lib/json-schema/util/uri.rb'
247206 - ' lib/json-schema/util/uuid.rb'
248207 - ' test/extends_nested_test.rb'
249208 - ' test/schema_reader_test.rb'
250209 - ' test/support/type_validation.rb'
251210
252- # Offense count: 10
253- # This cop supports safe autocorrection (--autocorrect).
254- # Configuration parameters: EnforcedStyle.
255- # SupportedStyles: both, prefix, postfix
256- Style/NegatedIf :
257- Exclude :
258- - ' lib/json-schema/attributes/anyof.rb'
259- - ' lib/json-schema/attributes/extends.rb'
260- - ' lib/json-schema/attributes/oneof.rb'
261- - ' lib/json-schema/attributes/required.rb'
262- - ' lib/json-schema/attributes/type.rb'
263- - ' lib/json-schema/attributes/type_v4.rb'
264- - ' lib/json-schema/errors/validation_error.rb'
265- - ' lib/json-schema/util/array_set.rb'
266- - ' lib/json-schema/validator.rb'
267-
268- # Offense count: 1
269- # This cop supports safe autocorrection (--autocorrect).
270- Style/NegatedIfElseCondition :
271- Exclude :
272- - ' lib/json-schema/validator.rb'
273-
274- # Offense count: 2
275- # This cop supports safe autocorrection (--autocorrect).
276- # Configuration parameters: EnforcedStyle, MinBodyLength, AllowConsecutiveConditionals.
277- # SupportedStyles: skip_modifier_ifs, always
278- Style/Next :
279- Exclude :
280- - ' lib/json-schema/attributes/ref.rb'
281- - ' lib/json-schema/validator.rb'
282-
283- # Offense count: 3
284- # This cop supports safe autocorrection (--autocorrect).
285- # Configuration parameters: Strict, AllowedNumbers, AllowedPatterns.
286- Style/NumericLiterals :
287- MinDigits : 23
288-
289211# Offense count: 10
290212# This cop supports unsafe autocorrection (--autocorrect-all).
291213# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
@@ -308,21 +230,6 @@ Style/OptionalBooleanParameter:
308230 Exclude :
309231 - ' lib/json-schema/validator.rb'
310232
311- # Offense count: 3
312- # This cop supports safe autocorrection (--autocorrect).
313- Style/ParallelAssignment :
314- Exclude :
315- - ' lib/json-schema/attributes/extends.rb'
316- - ' lib/json-schema/attributes/ref.rb'
317-
318- # Offense count: 2
319- # This cop supports safe autocorrection (--autocorrect).
320- # Configuration parameters: PreferredDelimiters.
321- Style/PercentLiteralDelimiters :
322- Exclude :
323- - ' Rakefile'
324- - ' lib/json-schema/util/uri.rb'
325-
326233# Offense count: 10
327234# This cop supports unsafe autocorrection (--autocorrect-all).
328235# Configuration parameters: EnforcedStyle.
@@ -335,37 +242,6 @@ Style/PreferredHashMethods:
335242 - ' lib/json-schema/attributes/required.rb'
336243 - ' lib/json-schema/schema/validator.rb'
337244
338- # Offense count: 2
339- # This cop supports safe autocorrection (--autocorrect).
340- Style/RedundantBegin :
341- Exclude :
342- - ' lib/json-schema/attributes/formats/custom.rb'
343- - ' lib/json-schema/validator.rb'
344-
345- # Offense count: 1
346- # This cop supports safe autocorrection (--autocorrect).
347- Style/RedundantConditional :
348- Exclude :
349- - ' lib/json-schema/validator.rb'
350-
351- # Offense count: 2
352- # This cop supports safe autocorrection (--autocorrect).
353- Style/RedundantSelfAssignmentBranch :
354- Exclude :
355- - ' lib/json-schema/validator.rb'
356-
357- # Offense count: 11
358- # This cop supports safe autocorrection (--autocorrect).
359- Style/SelfAssignment :
360- Exclude :
361- - ' lib/json-schema/attributes/additionalproperties.rb'
362- - ' lib/json-schema/attributes/allof.rb'
363- - ' lib/json-schema/attributes/anyof.rb'
364- - ' lib/json-schema/attributes/oneof.rb'
365- - ' lib/json-schema/attributes/ref.rb'
366- - ' lib/json-schema/attributes/type.rb'
367- - ' lib/json-schema/util/uuid.rb'
368-
369245# Offense count: 4
370246# This cop supports unsafe autocorrection (--autocorrect-all).
371247# Configuration parameters: Mode.
@@ -375,12 +251,6 @@ Style/StringConcatenation:
375251 - ' lib/json-schema/util/uuid.rb'
376252 - ' test/schema_reader_test.rb'
377253
378- # Offense count: 1
379- # This cop supports safe autocorrection (--autocorrect).
380- Style/SuperArguments :
381- Exclude :
382- - ' lib/json-schema/util/uri.rb'
383-
384254# Offense count: 3
385255# This cop supports unsafe autocorrection (--autocorrect-all).
386256# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
@@ -390,20 +260,9 @@ Style/SymbolProc:
390260 - ' lib/json-schema/errors/validation_error.rb'
391261 - ' lib/json-schema/validator.rb'
392262
393- # Offense count: 5
394- # This cop supports safe autocorrection (--autocorrect).
395- # Configuration parameters: EnforcedStyle, AllowSafeAssignment.
396- # SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
397- Style/TernaryParentheses :
398- Exclude :
399- - ' lib/json-schema/attributes/formats/ip.rb'
400- - ' lib/json-schema/errors/validation_error.rb'
401- - ' lib/json-schema/schema/reader.rb'
402- - ' lib/json-schema/validator.rb'
403-
404263# Offense count: 71
405264# This cop supports safe autocorrection (--autocorrect).
406- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
265+ # Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
407266# URISchemes: http, https
408267Layout/LineLength :
409268 Max : 235
0 commit comments