11AllCops :
2- TargetRubyVersion : 2.6
2+ TargetRubyVersion : 3.1
33Layout/LineLength :
44 Max : 128
55Layout/RescueEnsureAlignment :
@@ -75,7 +75,7 @@ Lint/AmbiguousRange:
7575Lint/DeprecatedConstants :
7676 Enabled : true
7777Lint/DuplicateBranch :
78- Enabled : true
78+ Enabled : false
7979Lint/DuplicateRegexpCharacterClassElement :
8080 Enabled : true
8181Lint/EmptyBlock :
@@ -114,6 +114,7 @@ Security/IoMethods:
114114 Enabled : true
115115Style/ArgumentsForwarding :
116116 Enabled : true
117+ UseAnonymousForwarding : false
117118Style/CollectionCompact :
118119 Enabled : true
119120Style/DocumentDynamicEvalDefinition :
@@ -170,12 +171,11 @@ Lint/RequireRangeParentheses: # new in 1.32
170171 Enabled : true
171172Lint/UselessRescue : # new in 1.43
172173 Enabled : true
173- Lint/DuplicateBranch :
174- Enabled : false
175174Metrics/CollectionLiteralLength : # new in 1.47
176175 Enabled : true
177176Naming/BlockForwarding : # new in 1.24
178177 Enabled : true
178+ EnforcedStyle : explicit
179179Security/CompoundHash : # new in 1.28
180180 Enabled : true
181181Style/ArrayIntersect : # new in 1.40
@@ -228,3 +228,81 @@ Style/RedundantStringEscape: # new in 1.37
228228 Enabled : true
229229Style/RegexpLiteral :
230230 Enabled : false
231+ Gemspec/AddRuntimeDependency : # new in 1.65
232+ Enabled : true
233+ Lint/ConstantReassignment : # new in 1.70
234+ Enabled : true
235+ Lint/DuplicateMatchPattern : # new in 1.50
236+ Enabled : true
237+ Lint/DuplicateSetElement : # new in 1.67
238+ Enabled : true
239+ Lint/HashNewWithKeywordArgumentsAsDefault : # new in 1.69
240+ Enabled : true
241+ Lint/ItWithoutArgumentsInBlock : # new in 1.59
242+ Enabled : true
243+ Lint/LiteralAssignmentInCondition : # new in 1.58
244+ Enabled : true
245+ Lint/MixedCaseRange : # new in 1.53
246+ Enabled : true
247+ Lint/NumericOperationWithConstantResult : # new in 1.69
248+ Enabled : true
249+ Lint/RedundantRegexpQuantifiers : # new in 1.53
250+ Enabled : true
251+ Lint/SharedMutableDefault : # new in 1.70
252+ Enabled : true
253+ Lint/UnescapedBracketInRegexp : # new in 1.68
254+ Enabled : true
255+ Lint/UselessDefined : # new in 1.69
256+ Enabled : true
257+ Lint/UselessNumericOperation : # new in 1.66
258+ Enabled : true
259+ Style/AmbiguousEndlessMethodDefinition : # new in 1.68
260+ Enabled : true
261+ Style/BitwisePredicate : # new in 1.68
262+ Enabled : true
263+ Style/CombinableDefined : # new in 1.68
264+ Enabled : true
265+ Style/DataInheritance : # new in 1.49
266+ Enabled : true
267+ Style/DigChain : # new in 1.69
268+ Enabled : true
269+ Style/ExactRegexpMatch : # new in 1.51
270+ Enabled : true
271+ Style/FileNull : # new in 1.69
272+ Enabled : true
273+ Style/FileTouch : # new in 1.69
274+ Enabled : true
275+ Style/ItAssignment : # new in 1.70
276+ Enabled : true
277+ Style/KeywordArgumentsMerging : # new in 1.68
278+ Enabled : true
279+ Style/MapIntoArray : # new in 1.63
280+ Enabled : true
281+ Style/RedundantArrayConstructor : # new in 1.52
282+ Enabled : true
283+ Style/RedundantCurrentDirectoryInPath : # new in 1.53
284+ Enabled : true
285+ Style/RedundantFilterChain : # new in 1.52
286+ Enabled : true
287+ Style/RedundantInterpolationUnfreeze : # new in 1.66
288+ Enabled : true
289+ Style/RedundantLineContinuation : # new in 1.49
290+ Enabled : true
291+ Style/RedundantRegexpArgument : # new in 1.53
292+ Enabled : true
293+ Style/RedundantRegexpConstructor : # new in 1.52
294+ Enabled : true
295+ Style/ReturnNilInPredicateMethodDefinition : # new in 1.53
296+ Enabled : true
297+ Style/SafeNavigationChainLength : # new in 1.68
298+ Enabled : true
299+ Style/SendWithLiteralMethodName : # new in 1.64
300+ Enabled : true
301+ Style/SingleLineDoEndBlock : # new in 1.57
302+ Enabled : true
303+ Style/SuperArguments : # new in 1.64
304+ Enabled : true
305+ Style/SuperWithArgsParentheses : # new in 1.58
306+ Enabled : true
307+ Style/YAMLFileRead : # new in 1.53
308+ Enabled : true
0 commit comments