omnizip 0.4.8-arm-linux → 0.4.10-arm-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.rubocop-oss.yml ADDED
@@ -0,0 +1,814 @@
1
+ ############################################
2
+ # This file is auto-generated. #
3
+ # DO NOT EDIT DIRECTLY #
4
+ # OR YOUR CHANGES MAY BE OVERWRITTEN #
5
+ # Edit source files instead. #
6
+ # See README for details. #
7
+ ############################################
8
+ #
9
+ # Source files:
10
+ # - src/rubocop/rubocop.tb.yml
11
+ # - src/rubocop/rubocop.ribose.yml
12
+ #
13
+ ############################################
14
+ ---
15
+ AllCops:
16
+ Exclude:
17
+ - db/**/*
18
+ - tmp/**/*
19
+ - vendor/**/*
20
+ DisplayCopNames: false
21
+ StyleGuideCopsOnly: false
22
+ TargetRubyVersion: 3.4
23
+ NewCops: enable
24
+ plugins:
25
+ - rubocop-performance
26
+ Naming/AccessorMethodName:
27
+ Description: Check the naming of accessor methods for get_/set_.
28
+ Enabled: false
29
+ Style/Alias:
30
+ Description: Use alias_method instead of alias.
31
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#alias-method
32
+ Enabled: false
33
+ Style/ArrayJoin:
34
+ Description: Use Array#join instead of Array#*.
35
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#array-join
36
+ Enabled: false
37
+ Style/AsciiComments:
38
+ Description: Use only ascii symbols in comments.
39
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#english-comments
40
+ Enabled: false
41
+ Naming/AsciiIdentifiers:
42
+ Description: Use only ascii symbols in identifiers.
43
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#english-identifiers
44
+ Enabled: false
45
+ Style/Attr:
46
+ Description: Checks for uses of Module#attr.
47
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#attr
48
+ Enabled: false
49
+ Metrics/BlockNesting:
50
+ Description: Avoid excessive block nesting
51
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#three-is-the-number-thou-shalt-count
52
+ Enabled: true
53
+ Max: 3
54
+ Style/CaseEquality:
55
+ Description: Avoid explicit use of the case equality operator(===).
56
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-case-equality
57
+ Enabled: false
58
+ Style/CharacterLiteral:
59
+ Description: Checks for uses of character literals.
60
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-character-literals
61
+ Enabled: false
62
+ Style/ClassAndModuleChildren:
63
+ Description: Checks style of children classes and modules.
64
+ Enabled: true
65
+ EnforcedStyle: nested
66
+ Metrics/ClassLength:
67
+ Description: Avoid classes longer than 100 lines of code.
68
+ Enabled: false
69
+ CountComments: false
70
+ Max: 100
71
+ Metrics/ModuleLength:
72
+ Description: Avoid modules longer than 100 lines of code.
73
+ Enabled: false
74
+ Style/ClassVars:
75
+ Description: Avoid the use of class variables.
76
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-class-vars
77
+ Enabled: false
78
+ Style/CollectionMethods:
79
+ Enabled: false
80
+ PreferredMethods:
81
+ find: detect
82
+ inject: reduce
83
+ collect: map
84
+ find_all: select
85
+ Style/ColonMethodCall:
86
+ Description: 'Do not use :: for method call.'
87
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#double-colons
88
+ Enabled: false
89
+ Style/CommentAnnotation:
90
+ Description: Checks formatting of special comments (TODO, FIXME, OPTIMIZE, HACK,
91
+ REVIEW).
92
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#annotate-keywords
93
+ Enabled: false
94
+ Metrics/AbcSize:
95
+ Description: A calculated magnitude based on number of assignments, branches, and
96
+ conditions.
97
+ Enabled: true
98
+ Max: 15
99
+ Metrics/BlockLength:
100
+ CountComments: true
101
+ Max: 25
102
+ Exclude:
103
+ - "**/*.gemspec"
104
+ - spec/**/*
105
+ Metrics/CyclomaticComplexity:
106
+ Description: A complexity metric that is strongly correlated to the number of test
107
+ cases needed to validate a method.
108
+ Enabled: true
109
+ Max: 6
110
+ Style/PreferredHashMethods:
111
+ Description: Checks use of `has_key?` and `has_value?` Hash methods.
112
+ StyleGuide: "#hash-key"
113
+ Enabled: false
114
+ Style/Documentation:
115
+ Description: Document classes and non-namespace modules.
116
+ Enabled: false
117
+ Style/DoubleNegation:
118
+ Description: Checks for uses of double negation (!!).
119
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-bang-bang
120
+ Enabled: false
121
+ Style/EachWithObject:
122
+ Description: Prefer `each_with_object` over `inject` or `reduce`.
123
+ Enabled: false
124
+ Style/EmptyLiteral:
125
+ Description: Prefer literals to Array.new/Hash.new/String.new.
126
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#literal-array-hash
127
+ Enabled: false
128
+ Style/Encoding:
129
+ Enabled: false
130
+ Style/EvenOdd:
131
+ Description: Favor the use of Fixnum#even? && Fixnum#odd?
132
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#predicate-methods
133
+ Enabled: false
134
+ Naming/FileName:
135
+ Description: Use snake_case for source file names.
136
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files
137
+ Enabled: false
138
+ Style/FrozenStringLiteralComment:
139
+ Description: Add the frozen_string_literal comment to the top of files to help transition
140
+ from Ruby 2.3.0 to Ruby 3.0.
141
+ Enabled: false
142
+ Lint/FlipFlop:
143
+ Description: Checks for flip flops
144
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-flip-flops
145
+ Enabled: false
146
+ Style/FormatString:
147
+ Description: Enforce the use of Kernel#sprintf, Kernel#format or String#%.
148
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#sprintf
149
+ Enabled: false
150
+ Style/GlobalVars:
151
+ Description: Do not introduce global variables.
152
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#instance-vars
153
+ Reference: http://www.zenspider.com/Languages/Ruby/QuickRef.html
154
+ Enabled: false
155
+ Style/GuardClause:
156
+ Description: Check for conditionals that can be replaced with guard clauses
157
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals
158
+ Enabled: false
159
+ Style/IfUnlessModifier:
160
+ Description: Favor modifier if/unless usage when you have a single-line body.
161
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier
162
+ Enabled: false
163
+ Style/IfWithSemicolon:
164
+ Description: Do not use if x; .... Use the ternary operator instead.
165
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-semicolon-ifs
166
+ Enabled: false
167
+ Style/InlineComment:
168
+ Description: Avoid inline comments.
169
+ Enabled: false
170
+ Style/Lambda:
171
+ Description: Use the new lambda literal syntax for single-line blocks.
172
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#lambda-multi-line
173
+ Enabled: false
174
+ Style/LambdaCall:
175
+ Description: Use lambda.call(...) instead of lambda.(...).
176
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#proc-call
177
+ Enabled: false
178
+ Style/LineEndConcatenation:
179
+ Description: Use \ instead of + or << to concatenate two string literals at line
180
+ end.
181
+ Enabled: false
182
+ Metrics/MethodLength:
183
+ Description: Avoid methods longer than 10 lines of code.
184
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#short-methods
185
+ Enabled: true
186
+ CountComments: true
187
+ Max: 10
188
+ Exclude:
189
+ - spec/**/*
190
+ CountAsOne:
191
+ - array
192
+ - heredoc
193
+ Style/ModuleFunction:
194
+ Description: Checks for usage of `extend self` in modules.
195
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#module-function
196
+ Enabled: false
197
+ Style/MultilineBlockChain:
198
+ Description: Avoid multi-line chains of blocks.
199
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#single-line-blocks
200
+ Enabled: false
201
+ Style/NegatedIf:
202
+ Description: Favor unless over if for negative conditions (or control flow or).
203
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#unless-for-negatives
204
+ Enabled: false
205
+ Style/NegatedWhile:
206
+ Description: Favor until over while for negative conditions.
207
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#until-for-negatives
208
+ Enabled: false
209
+ Style/Next:
210
+ Description: Use `next` to skip iteration instead of a condition at the end.
211
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals
212
+ Enabled: false
213
+ Style/NilComparison:
214
+ Description: Prefer x.nil? to x == nil.
215
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#predicate-methods
216
+ Enabled: false
217
+ Style/Not:
218
+ Description: Use ! instead of not.
219
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#bang-not-not
220
+ Enabled: false
221
+ Style/NumericLiterals:
222
+ Description: Add underscores to large numeric literals to improve their readability.
223
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscores-in-numerics
224
+ Enabled: false
225
+ Style/OneLineConditional:
226
+ Description: Favor the ternary operator(?:) over if/then/else/end constructs.
227
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#ternary-operator
228
+ Enabled: false
229
+ Naming/BinaryOperatorParameterName:
230
+ Description: When defining binary operators, name the argument other.
231
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#other-arg
232
+ Enabled: false
233
+ Metrics/ParameterLists:
234
+ Description: Avoid long parameter lists.
235
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#too-many-params
236
+ Enabled: true
237
+ Max: 5
238
+ CountKeywordArgs: true
239
+ Style/PercentLiteralDelimiters:
240
+ Description: Use `%`-literal delimiters consistently
241
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-literal-braces
242
+ Enabled: false
243
+ Style/PerlBackrefs:
244
+ Description: Avoid Perl-style regex back references.
245
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers
246
+ Enabled: false
247
+ Naming/PredicatePrefix:
248
+ Description: Check the names of predicate methods.
249
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark
250
+ ForbiddenPrefixes:
251
+ - is_
252
+ Exclude:
253
+ - spec/**/*
254
+ Style/Proc:
255
+ Description: Use proc instead of Proc.new.
256
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#proc
257
+ Enabled: false
258
+ Style/RaiseArgs:
259
+ Description: Checks the arguments passed to raise/fail.
260
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#exception-class-messages
261
+ Enabled: false
262
+ Style/RegexpLiteral:
263
+ Description: Use / or %r around regular expressions.
264
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-r
265
+ Enabled: false
266
+ Style/Sample:
267
+ Description: Use `sample` instead of `shuffle.first`, `shuffle.last`, and `shuffle[Fixnum]`.
268
+ Reference: https://github.com/JuanitoFatas/fast-ruby#arrayshufflefirst-vs-arraysample-code
269
+ Enabled: false
270
+ Style/SelfAssignment:
271
+ Description: Checks for places where self-assignment shorthand should have been
272
+ used.
273
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#self-assignment
274
+ Enabled: false
275
+ Style/SingleLineBlockParams:
276
+ Description: Enforces the names of some block params.
277
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#reduce-blocks
278
+ Enabled: false
279
+ Style/SingleLineMethods:
280
+ Description: Avoid single-line methods.
281
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-single-line-methods
282
+ Enabled: false
283
+ Style/SignalException:
284
+ Description: Checks for proper usage of fail and raise.
285
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#fail-method
286
+ Enabled: false
287
+ Style/SpecialGlobalVars:
288
+ Description: Avoid Perl-style global variables.
289
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-cryptic-perlisms
290
+ Enabled: false
291
+ Style/StringLiterals:
292
+ Description: Checks if uses of quotes match the configured preference.
293
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
294
+ EnforcedStyle: double_quotes
295
+ Enabled: true
296
+ Style/TrailingCommaInArguments:
297
+ Description: Checks for trailing comma in argument lists.
298
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas
299
+ EnforcedStyleForMultiline: comma
300
+ SupportedStylesForMultiline:
301
+ - comma
302
+ - consistent_comma
303
+ - no_comma
304
+ Enabled: true
305
+ Style/TrailingCommaInArrayLiteral:
306
+ Description: Checks for trailing comma in array literals.
307
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas
308
+ EnforcedStyleForMultiline: comma
309
+ SupportedStylesForMultiline:
310
+ - comma
311
+ - consistent_comma
312
+ - no_comma
313
+ Enabled: true
314
+ Style/TrailingCommaInHashLiteral:
315
+ Description: Checks for trailing comma in hash literals.
316
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas
317
+ EnforcedStyleForMultiline: comma
318
+ SupportedStylesForMultiline:
319
+ - comma
320
+ - consistent_comma
321
+ - no_comma
322
+ Enabled: true
323
+ Style/TrivialAccessors:
324
+ Description: Prefer attr_* methods to trivial readers/writers.
325
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#attr_family
326
+ Enabled: false
327
+ Style/VariableInterpolation:
328
+ Description: Don't interpolate global, instance and class variables directly in
329
+ strings.
330
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#curlies-interpolate
331
+ Enabled: false
332
+ Style/WhenThen:
333
+ Description: Use when x then ... for one-line cases.
334
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#one-line-cases
335
+ Enabled: false
336
+ Style/WhileUntilModifier:
337
+ Description: Favor modifier while/until usage when you have a single-line body.
338
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#while-as-a-modifier
339
+ Enabled: false
340
+ Style/WordArray:
341
+ Description: Use %w or %W for arrays of words.
342
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-w
343
+ Enabled: false
344
+ Layout/ParameterAlignment:
345
+ Description: Here we check if the parameters on a multi-line method call or definition
346
+ are aligned.
347
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-double-indent
348
+ Enabled: false
349
+ Layout/ConditionPosition:
350
+ Description: Checks for condition placed in a confusing position relative to the
351
+ keyword.
352
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#same-line-condition
353
+ Enabled: false
354
+ Layout/DotPosition:
355
+ Description: Checks the position of the dot in multi-line method calls.
356
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains
357
+ EnforcedStyle: leading
358
+ Layout/ExtraSpacing:
359
+ Description: Do not use unnecessary spacing.
360
+ Enabled: true
361
+ Layout/MultilineOperationIndentation:
362
+ Description: Checks indentation of binary operations that span more than one line.
363
+ Enabled: true
364
+ EnforcedStyle: indented
365
+ Layout/MultilineMethodCallIndentation:
366
+ Description: Checks indentation of method calls with the dot operator that span
367
+ more than one line.
368
+ Enabled: true
369
+ EnforcedStyle: indented
370
+ Layout/InitialIndentation:
371
+ Description: Checks the indentation of the first non-blank non-comment line in a
372
+ file.
373
+ Enabled: false
374
+ Layout/LineLength:
375
+ Description: Limit lines to 80 characters.
376
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#80-character-limits
377
+ Max: 80
378
+ Enabled: true
379
+ AllowURI: true
380
+ URISchemes:
381
+ - http
382
+ - https
383
+ Lint/AmbiguousOperator:
384
+ Description: Checks for ambiguous operators in the first argument of a method invocation
385
+ without parentheses.
386
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-as-args
387
+ Enabled: false
388
+ Lint/AmbiguousRegexpLiteral:
389
+ Description: Checks for ambiguous regexp literals in the first argument of a method
390
+ invocation without parenthesis.
391
+ Enabled: false
392
+ Lint/AssignmentInCondition:
393
+ Description: Don't use assignment in conditions.
394
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition
395
+ Enabled: false
396
+ Lint/CircularArgumentReference:
397
+ Description: Don't refer to the keyword argument in the default value.
398
+ Enabled: false
399
+ Lint/DeprecatedClassMethods:
400
+ Description: Check for deprecated class method calls.
401
+ Enabled: false
402
+ Lint/DuplicateHashKey:
403
+ Description: Check for duplicate keys in hash literals.
404
+ Enabled: false
405
+ Lint/DuplicateRegexpCharacterClassElement:
406
+ Description: Checks for duplicate elements in Regexp character classes.
407
+ Enabled: true
408
+ Lint/EachWithObjectArgument:
409
+ Description: Check for immutable argument given to each_with_object.
410
+ Enabled: false
411
+ Lint/ElseLayout:
412
+ Description: Check for odd code arrangement in an else block.
413
+ Enabled: false
414
+ Lint/FormatParameterMismatch:
415
+ Description: The number of parameters to format/sprint must match the fields.
416
+ Enabled: false
417
+ Lint/SuppressedException:
418
+ Description: Don't suppress exception.
419
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions
420
+ Enabled: false
421
+ Lint/LiteralAsCondition:
422
+ Description: Checks of literals used in conditions.
423
+ Enabled: false
424
+ Lint/LiteralInInterpolation:
425
+ Description: Checks for literals used in interpolation.
426
+ Enabled: false
427
+ Lint/Loop:
428
+ Description: Use Kernel#loop with break rather than begin/end/until or begin/end/while
429
+ for post-loop tests.
430
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#loop-with-break
431
+ Enabled: false
432
+ Lint/NestedMethodDefinition:
433
+ Description: Do not use nested method definitions.
434
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-methods
435
+ Enabled: false
436
+ Lint/NonLocalExitFromIterator:
437
+ Description: Do not use return in iterator to cause non-local exit.
438
+ Enabled: false
439
+ Lint/ParenthesesAsGroupedExpression:
440
+ Description: Checks for method calls with a space before the opening parenthesis.
441
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-no-spaces
442
+ Enabled: false
443
+ Lint/RequireParentheses:
444
+ Description: Use parentheses in the method call to avoid confusion about precedence.
445
+ Enabled: false
446
+ Lint/UnderscorePrefixedVariableName:
447
+ Description: Do not use prefix `_` for a variable that is used.
448
+ Enabled: false
449
+ Lint/RedundantCopDisableDirective:
450
+ Description: 'Checks for rubocop:disable comments that can be removed. Note: this
451
+ cop is not disabled when disabling all cops. It must be explicitly disabled.'
452
+ Enabled: false
453
+ Lint/Void:
454
+ Description: Possible use of operator/literal/variable in void context.
455
+ Enabled: false
456
+ Performance/CaseWhenSplat:
457
+ Description: Place `when` conditions that use splat at the end of the list of `when`
458
+ branches.
459
+ Enabled: false
460
+ Performance/ConstantRegexp:
461
+ Description: Finds regular expressions with dynamic components that are all constants.
462
+ Enabled: true
463
+ Performance/Count:
464
+ Description: Use `count` instead of `select...size`, `reject...size`, `select...count`,
465
+ `reject...count`, `select...length`, and `reject...length`.
466
+ Enabled: false
467
+ Performance/Detect:
468
+ Description: Use `detect` instead of `select.first`, `find_all.first`, `select.last`,
469
+ and `find_all.last`.
470
+ Reference: https://github.com/JuanitoFatas/fast-ruby#enumerabledetect-vs-enumerableselectfirst-code
471
+ Enabled: false
472
+ Performance/FlatMap:
473
+ Description: Use `Enumerable#flat_map` instead of `Enumerable#map...Array#flatten(1)`
474
+ or `Enumberable#collect..Array#flatten(1)`
475
+ Reference: https://github.com/JuanitoFatas/fast-ruby#enumerablemaparrayflatten-vs-enumerableflat_map-code
476
+ Enabled: false
477
+ Performance/ReverseEach:
478
+ Description: Use `reverse_each` instead of `reverse.each`.
479
+ Reference: https://github.com/JuanitoFatas/fast-ruby#enumerablereverseeach-vs-enumerablereverse_each-code
480
+ Enabled: false
481
+ Performance/Size:
482
+ Description: Use `size` instead of `count` for counting the number of elements in
483
+ `Array` and `Hash`.
484
+ Reference: https://github.com/JuanitoFatas/fast-ruby#arraycount-vs-arraysize-code
485
+ Enabled: false
486
+ Performance/StringReplacement:
487
+ Description: Use `tr` instead of `gsub` when you are replacing the same number of
488
+ characters. Use `delete` instead of `gsub` when you are deleting characters.
489
+ Reference: https://github.com/JuanitoFatas/fast-ruby#stringgsub-vs-stringtr-code
490
+ Enabled: false
491
+ Lint/DuplicateBranch:
492
+ Enabled: true
493
+ Lint/EmptyBlock:
494
+ Enabled: true
495
+ Lint/EmptyClass:
496
+ Enabled: true
497
+ Lint/MissingSuper:
498
+ AllowedParentClasses:
499
+ - Liquid::Drop
500
+ Lint/NoReturnInBeginEndBlocks:
501
+ Enabled: true
502
+ Lint/ShadowedArgument:
503
+ Enabled: true
504
+ IgnoreImplicitReferences: true
505
+ Lint/ToEnumArguments:
506
+ Enabled: true
507
+ Lint/UnexpectedBlockArity:
508
+ Enabled: true
509
+ Lint/UnmodifiedReduceAccumulator:
510
+ Enabled: true
511
+ Metrics/PerceivedComplexity:
512
+ Description: A complexity metric geared towards measuring complexity for a human
513
+ reader.
514
+ Enabled: true
515
+ Max: 7
516
+ Performance/AncestorsInclude:
517
+ Enabled: true
518
+ Performance/BigDecimalWithNumericArgument:
519
+ Enabled: true
520
+ Performance/BlockGivenWithExplicitBlock:
521
+ Enabled: true
522
+ Performance/CollectionLiteralInLoop:
523
+ Enabled: true
524
+ Performance/MethodObjectAsBlock:
525
+ Enabled: true
526
+ Performance/RedundantEqualityComparisonBlock:
527
+ Enabled: true
528
+ Performance/RedundantSortBlock:
529
+ Enabled: true
530
+ Performance/RedundantSplitRegexpArgument:
531
+ Enabled: true
532
+ Performance/RedundantStringChars:
533
+ Enabled: true
534
+ Performance/ReverseFirst:
535
+ Enabled: true
536
+ Performance/SortReverse:
537
+ Enabled: true
538
+ Performance/Squeeze:
539
+ Enabled: true
540
+ Performance/StringInclude:
541
+ Enabled: true
542
+ Performance/Sum:
543
+ Enabled: true
544
+ Style/ArgumentsForwarding:
545
+ Enabled: true
546
+ Style/CollectionCompact:
547
+ Description: Checks for places where custom logic on rejection nils from arrays
548
+ and hashes can be replaced with {Array,Hash}#{compact,compact!}.
549
+ StyleGuide: https://docs.rubocop.org/rubocop/cops_style.html#stylecollectioncompact
550
+ Enabled: true
551
+ Style/DocumentDynamicEvalDefinition:
552
+ Enabled: true
553
+ Style/NegatedIfElseCondition:
554
+ Enabled: true
555
+ Style/NilLambda:
556
+ Enabled: true
557
+ Style/RedundantArgument:
558
+ Enabled: true
559
+ Style/SwapValues:
560
+ Enabled: true
561
+ Gemspec/AddRuntimeDependency:
562
+ Enabled: true
563
+ Gemspec/AttributeAssignment:
564
+ Enabled: true
565
+ Gemspec/DeprecatedAttributeAssignment:
566
+ Enabled: true
567
+ Gemspec/DevelopmentDependencies:
568
+ Enabled: true
569
+ Layout/EmptyLinesAfterModuleInclusion:
570
+ Enabled: true
571
+ Layout/LineContinuationSpacing:
572
+ Enabled: true
573
+ Layout/LineEndStringConcatenationIndentation:
574
+ Enabled: true
575
+ Lint/AmbiguousAssignment:
576
+ Enabled: true
577
+ Lint/AmbiguousOperatorPrecedence:
578
+ Enabled: true
579
+ Lint/AmbiguousRange:
580
+ Enabled: true
581
+ Lint/ArrayLiteralInRegexp:
582
+ Enabled: true
583
+ Lint/ConstantOverwrittenInRescue:
584
+ Enabled: true
585
+ Lint/ConstantReassignment:
586
+ Enabled: true
587
+ Lint/CopDirectiveSyntax:
588
+ Enabled: true
589
+ Lint/DeprecatedConstants:
590
+ Enabled: true
591
+ Lint/DuplicateMagicComment:
592
+ Enabled: true
593
+ Lint/DuplicateMatchPattern:
594
+ Enabled: true
595
+ Lint/DuplicateSetElement:
596
+ Enabled: true
597
+ Lint/EmptyInPattern:
598
+ Enabled: true
599
+ Lint/HashNewWithKeywordArgumentsAsDefault:
600
+ Enabled: true
601
+ Lint/IncompatibleIoSelectWithFiberScheduler:
602
+ Enabled: true
603
+ Lint/ItWithoutArgumentsInBlock:
604
+ Enabled: true
605
+ Lint/LambdaWithoutLiteralBlock:
606
+ Enabled: true
607
+ Lint/LiteralAssignmentInCondition:
608
+ Enabled: true
609
+ Lint/MixedCaseRange:
610
+ Enabled: true
611
+ Lint/NonAtomicFileOperation:
612
+ Enabled: true
613
+ Lint/NumberedParameterAssignment:
614
+ Enabled: true
615
+ Lint/NumericOperationWithConstantResult:
616
+ Enabled: true
617
+ Lint/OrAssignmentToConstant:
618
+ Enabled: true
619
+ Lint/RedundantDirGlobSort:
620
+ Enabled: true
621
+ Lint/RedundantRegexpQuantifiers:
622
+ Enabled: true
623
+ Lint/RedundantTypeConversion:
624
+ Enabled: true
625
+ Lint/RefinementImportMethods:
626
+ Enabled: true
627
+ Lint/RequireRangeParentheses:
628
+ Enabled: true
629
+ Lint/RequireRelativeSelfPath:
630
+ Enabled: true
631
+ Lint/SharedMutableDefault:
632
+ Enabled: true
633
+ Lint/SuppressedExceptionInNumberConversion:
634
+ Enabled: true
635
+ Lint/SymbolConversion:
636
+ Enabled: true
637
+ Lint/TripleQuotes:
638
+ Enabled: true
639
+ Lint/UnescapedBracketInRegexp:
640
+ Enabled: true
641
+ Lint/UselessConstantScoping:
642
+ Enabled: true
643
+ Lint/UselessDefaultValueArgument:
644
+ Enabled: true
645
+ Lint/UselessDefined:
646
+ Enabled: true
647
+ Lint/UselessNumericOperation:
648
+ Enabled: true
649
+ Lint/UselessOr:
650
+ Enabled: true
651
+ Lint/UselessRescue:
652
+ Enabled: true
653
+ Lint/UselessRuby2Keywords:
654
+ Enabled: true
655
+ Metrics/CollectionLiteralLength:
656
+ Enabled: true
657
+ Naming/BlockForwarding:
658
+ Enabled: true
659
+ Naming/PredicateMethod:
660
+ Enabled: true
661
+ Security/CompoundHash:
662
+ Enabled: true
663
+ Security/IoMethods:
664
+ Enabled: true
665
+ Style/AmbiguousEndlessMethodDefinition:
666
+ Enabled: true
667
+ Style/ArrayIntersect:
668
+ Enabled: true
669
+ Style/ArrayIntersectWithSingleElement:
670
+ Enabled: true
671
+ Style/BitwisePredicate:
672
+ Enabled: true
673
+ Style/CollectionQuerying:
674
+ Enabled: true
675
+ Style/CombinableDefined:
676
+ Enabled: true
677
+ Style/ComparableBetween:
678
+ Enabled: true
679
+ Style/ComparableClamp:
680
+ Enabled: true
681
+ Style/ConcatArrayLiterals:
682
+ Enabled: true
683
+ Style/DataInheritance:
684
+ Enabled: true
685
+ Style/DigChain:
686
+ Enabled: true
687
+ Style/DirEmpty:
688
+ Enabled: true
689
+ Style/EmptyHeredoc:
690
+ Enabled: true
691
+ Style/EmptyStringInsideInterpolation:
692
+ Enabled: true
693
+ Style/EndlessMethod:
694
+ Enabled: true
695
+ Style/EnvHome:
696
+ Enabled: true
697
+ Style/ExactRegexpMatch:
698
+ Enabled: true
699
+ Style/FetchEnvVar:
700
+ Enabled: true
701
+ Style/FileEmpty:
702
+ Enabled: true
703
+ Style/FileNull:
704
+ Enabled: true
705
+ Style/FileRead:
706
+ Enabled: true
707
+ Style/FileTouch:
708
+ Enabled: true
709
+ Style/FileWrite:
710
+ Enabled: true
711
+ Style/HashConversion:
712
+ Enabled: true
713
+ Style/HashExcept:
714
+ Enabled: true
715
+ Style/HashFetchChain:
716
+ Enabled: true
717
+ Style/HashSlice:
718
+ Enabled: true
719
+ Style/IfWithBooleanLiteralBranches:
720
+ Enabled: true
721
+ Style/InPatternThen:
722
+ Enabled: true
723
+ Style/ItAssignment:
724
+ Enabled: true
725
+ Style/ItBlockParameter:
726
+ Enabled: true
727
+ Style/KeywordArgumentsMerging:
728
+ Enabled: true
729
+ Style/MagicCommentFormat:
730
+ Enabled: true
731
+ Style/MapCompactWithConditionalBlock:
732
+ Enabled: true
733
+ Style/MapIntoArray:
734
+ Enabled: true
735
+ Style/MapToHash:
736
+ Enabled: true
737
+ Style/MinMaxComparison:
738
+ Enabled: true
739
+ Style/MultilineInPatternThen:
740
+ Enabled: true
741
+ Style/NestedFileDirname:
742
+ Enabled: true
743
+ Style/NumberedParametersLimit:
744
+ Enabled: true
745
+ Style/ObjectThen:
746
+ Enabled: true
747
+ Style/OpenStructUse:
748
+ Enabled: true
749
+ Style/OperatorMethodCall:
750
+ Enabled: true
751
+ Style/QuotedSymbols:
752
+ Enabled: true
753
+ Style/RedundantArrayConstructor:
754
+ Enabled: true
755
+ Style/RedundantArrayFlatten:
756
+ Enabled: true
757
+ Style/RedundantConstantBase:
758
+ Enabled: true
759
+ Style/RedundantCurrentDirectoryInPath:
760
+ Enabled: true
761
+ Style/RedundantDoubleSplatHashBraces:
762
+ Enabled: true
763
+ Style/RedundantEach:
764
+ Enabled: true
765
+ Style/RedundantFilterChain:
766
+ Enabled: true
767
+ Style/RedundantFormat:
768
+ Enabled: true
769
+ Style/RedundantHeredocDelimiterQuotes:
770
+ Enabled: true
771
+ Style/RedundantInitialize:
772
+ Enabled: true
773
+ Style/RedundantInterpolationUnfreeze:
774
+ Enabled: true
775
+ Style/RedundantLineContinuation:
776
+ Enabled: true
777
+ Style/RedundantRegexpArgument:
778
+ Enabled: true
779
+ Style/RedundantRegexpConstructor:
780
+ Enabled: true
781
+ Style/RedundantSelfAssignmentBranch:
782
+ Enabled: true
783
+ Style/RedundantStringEscape:
784
+ Enabled: true
785
+ Style/ReturnNilInPredicateMethodDefinition:
786
+ Enabled: true
787
+ Style/SafeNavigationChainLength:
788
+ Enabled: true
789
+ Style/SelectByRegexp:
790
+ Enabled: true
791
+ Style/SendWithLiteralMethodName:
792
+ Enabled: true
793
+ Style/SingleLineDoEndBlock:
794
+ Enabled: true
795
+ Style/StringChars:
796
+ Enabled: true
797
+ Style/SuperArguments:
798
+ Enabled: true
799
+ Style/SuperWithArgsParentheses:
800
+ Enabled: true
801
+ Style/YAMLFileRead:
802
+ Enabled: true
803
+ Performance/ConcurrentMonotonicTime:
804
+ Enabled: true
805
+ Performance/MapCompact:
806
+ Enabled: true
807
+ Performance/MapMethodChain:
808
+ Enabled: true
809
+ Performance/StringBytesize:
810
+ Enabled: true
811
+ Performance/StringIdentifierArgument:
812
+ Enabled: true
813
+ Performance/ZipWithoutBlock:
814
+ Enabled: true