@@ -3,10 +3,8 @@ require:
33- rubocop-rspec
44AllCops :
55 TargetRubyVersion : 2.7
6- Capybara :
7- Enabled : false
8- FactoryBot :
9- Enabled : false
6+ Gemspec/AddRuntimeDependency :
7+ Enabled : true
108Gemspec/DeprecatedAttributeAssignment :
119 Enabled : true
1210Gemspec/DevelopmentDependencies :
@@ -93,6 +91,8 @@ Lint/DuplicateRequire:
9391 Enabled : true
9492Lint/DuplicateRescueException :
9593 Enabled : true
94+ Lint/DuplicateSetElement :
95+ Enabled : true
9696Lint/EmptyBlock :
9797 Enabled : true
9898Lint/EmptyClass :
@@ -111,8 +111,12 @@ Lint/IdentityComparison:
111111 Enabled : true
112112Lint/IncompatibleIoSelectWithFiberScheduler :
113113 Enabled : true
114+ Lint/ItWithoutArgumentsInBlock :
115+ Enabled : true
114116Lint/LambdaWithoutLiteralBlock :
115117 Enabled : true
118+ Lint/LiteralAssignmentInCondition :
119+ Enabled : true
116120Lint/MissingSuper :
117121 Enabled : true
118122Lint/MixedCaseRange :
@@ -159,6 +163,8 @@ Lint/TrailingCommaInAttributeDeclaration:
159163 Enabled : true
160164Lint/TripleQuotes :
161165 Enabled : true
166+ Lint/UnescapedBracketInRegexp :
167+ Enabled : true
162168Lint/UnexpectedBlockArity :
163169 Enabled : true
164170Lint/UnmodifiedReduceAccumulator :
@@ -169,6 +175,8 @@ Lint/UnusedMethodArgument:
169175 Enabled : true
170176Lint/UselessMethodDefinition :
171177 Enabled : true
178+ Lint/UselessNumericOperation :
179+ Enabled : true
172180Lint/UselessRescue :
173181 Enabled : true
174182Lint/UselessRuby2Keywords :
@@ -254,7 +262,7 @@ RSpec/ExcessiveDocstringSpacing:
254262 Enabled : true
255263RSpec/ExpectInHook :
256264 Enabled : true
257- RSpec/FilePath :
265+ RSpec/SpecFilePathFormat :
258266 Enabled : false
259267RSpec/IdenticalEqualityAssertion :
260268 Enabled : true
@@ -273,8 +281,6 @@ RSpec/Pending:
273281 Enabled : true
274282RSpec/PendingWithoutReason :
275283 Enabled : true
276- RSpec/Rails :
277- Enabled : false
278284RSpec/ReceiveMessages :
279285 Enabled : true
280286RSpec/RedundantAround :
@@ -283,6 +289,8 @@ RSpec/SkipBlockInsideExample:
283289 Enabled : true
284290RSpec/SortMetadata :
285291 Enabled : true
292+ RSpec/StringAsInstanceDoubleConstant :
293+ Enabled : true
286294RSpec/SubjectDeclaration :
287295 Enabled : true
288296RSpec/VerifiedDoubleReference :
@@ -301,6 +309,8 @@ Style/AccessorGrouping:
301309Style/Alias :
302310 Enabled : true
303311 EnforcedStyle : prefer_alias
312+ Style/AmbiguousEndlessMethodDefinition :
313+ Enabled : true
304314Style/ArgumentsForwarding :
305315 Enabled : true
306316Style/ArrayCoercion :
@@ -313,6 +323,8 @@ Style/Attr:
313323 Enabled : true
314324Style/BisectedAttrAccessor :
315325 Enabled : true
326+ Style/BitwisePredicate :
327+ Enabled : true
316328Style/BlockComments :
317329 Enabled : true
318330Style/BlockDelimiters :
@@ -329,6 +341,8 @@ Style/ClassVars:
329341 Enabled : false # reason: an important language feature
330342Style/CollectionCompact :
331343 Enabled : true
344+ Style/CombinableDefined :
345+ Enabled : true
332346Style/CombinableLoops :
333347 Enabled : true
334348Style/CommandLiteral :
@@ -419,12 +433,16 @@ Style/InPatternThen:
419433 Enabled : true
420434Style/InfiniteLoop :
421435 Enabled : false # reason: loop is measurably slower than while true
436+ Style/KeywordArgumentsMerging :
437+ Enabled : true
422438Style/KeywordParametersOrder :
423439 Enabled : true
424440Style/MagicCommentFormat :
425441 Enabled : true
426442Style/MapCompactWithConditionalBlock :
427443 Enabled : true
444+ Style/MapIntoArray :
445+ Enabled : true
428446Style/MapToHash :
429447 Enabled : false # reason: not supported in JRuby < 9.3
430448Style/MapToSet :
@@ -513,6 +531,8 @@ Style/RedundantHeredocDelimiterQuotes:
513531 Enabled : false # reason: we want to be explicit about when no interpolation should be performed
514532Style/RedundantInitialize :
515533 Enabled : true
534+ Style/RedundantInterpolationUnfreeze :
535+ Enabled : true
516536Style/RedundantLineContinuation :
517537 Enabled : true
518538Style/RedundantPercentQ :
@@ -544,10 +564,16 @@ Style/MissingRespondToMissing:
544564 Enabled : true
545565Style/SafeNavigation :
546566 Enabled : true
567+ Style/SafeNavigationChainLength :
568+ Enabled : true
547569Style/SelectByRegexp :
548570 Enabled : true
571+ Style/SendWithLiteralMethodName :
572+ Enabled : true
549573Style/SingleArgumentDig :
550574 Enabled : true
575+ Style/SingleLineDoEndBlock :
576+ Enabled : true
551577Style/SlicingWithRange :
552578 Enabled : false # reason: not supported in JRuby < 9.3
553579Style/SoleNestedConditional :
@@ -561,6 +587,10 @@ Style/StringChars:
561587 Enabled : true
562588Style/StringConcatenation :
563589 Enabled : false # reason: string concatenation can be faster
590+ Style/SuperArguments :
591+ Enabled : true
592+ Style/SuperWithArgsParentheses :
593+ Enabled : true
564594Style/SwapValues :
565595 Enabled : true
566596Style/SymbolArray :
0 commit comments