relnotes/v1.42.0.md
Style/MapToSet cop. (@koic)Style/MinMaxComparison cop. (@koic)Style/YodaExpression cop. (@fatkodima)Lint/RedundantCopDisableDirective when using --except command line option. (@koic)Lint/UselessRuby2Keywords when using Proc#ruby2_keywords. (@koic)Lint/RegexpAsCondition when using regexp literal with bang. (@koic)Layout/ClassStructure and correctly handle class methods. (@fatkodima)Style/GuardClause when using heredoc as an argument of raise in then branch and it does not have else branch. (@koic)Style/RequireOrder when only one require. (@koic)Style/SelectByRegexp when block body is empty. (@koic)Lint/RequireParentheses when assigning ternary operator. (@koic)Style/MethodDefParentheses aware of Ruby 3.2's anonymous rest and keyword rest arguments. (@koic)Style/RedundantStringEscape when using escaped space in heredoc. (@koic)Style/IdenticalConditionalBranches to ignore identical leading lines when branch has single child and is used in return context. (@fatkodima)Layout/CommentIndentation comment aligned with access modifier indentation when EnforcedStyle is outdent. (@soroktree)Style/RequireOrder when using require inside rescue body. (@fatkodima)super within ranges for Layout/SpaceAroundKeyword cop. (@fatkodima)Style/WordArray cop. (@fatkodima)Layout/ClassStructure cop. (@fatkodima)Style/ConcatArrayLiterals. (@fatkodima)Style/ZeroLengthPredicate aware of array.length.zero?. (@koic)Lint/OutOfRangeRegexpRef cop. (@fatkodima)