- #9324: Add new
Lint/DeprecatedConstants
cop. (@koic) - #9319: Support asdf's .tool-versions file. (@noon-ng)
- #9301: Add new
Lint/RedundantDirGlobSort
cop. (@koic) - #9281: Add new cop
Style/EndlessMethod
. (@dvandersluis)
- #9298: Fix an incorrect auto-correct for
Lint/RedundantCopDisableDirective
when there is a blank line before inline comment. (@koic) - #9233: Fix
Style/SoleNestedConditional
copying non-relevant comments during auto-correction. (@Darhazer) - #9312: Fix
Layout/FirstHashElementLineBreak
to apply to multi-line hashes with only a single element. (@muirdm) - #9316: Fix
Style/EmptyLiteral
registering wrong offense when using a numbered block for Hash.new, i.e.Hash.new { _1[_2] = [] }
. (@agargiulo) - #9308: Fix an error for
Layout/EmptyLineBetweenDefs
when using endless class method. (@koic) - #9314: Fix an incorrect auto-correct for
Style/RedundantReturn
when multiple return values have a parenthesized return value. (@koic) - #9335: Fix an incorrect auto-correct for
EnforcedStyle: require_parentheses
ofStyle/MethodCallWithArgsParentheses
withStyle/NestedParenthesizedCalls
. (@koic) - #9290: Fix a false positive for
Layout/SpaceBeforeBrackets
when using array literal method argument. (@koic) - #9333: Fix an error for
Style/IfInsideElse
when using a modifierif
nested inside anelse
afterelsif
. (@koic) - #9303: Fix an incorrect auto-correct for
Style/RaiseArgs
withEnforcedStyle: compact
when using exception instantiation argument. (@koic)
- #9300: Make
Lint/NonDeterministicRequireOrder
not to register offense when using Ruby 3.0 or higher. (@koic) - #9320: Support unicode-display_width v2. (@dduugg)
- #9288: Require Parser 3.0.0.0 or higher. (@koic)
- #9337: Add
AllowedIdentifiers
toNaming/VariableName
. (@dvandersluis) - #9295: Update
Style/SingleLineMethods
to correct to an endless method definition if they are allowed. (@dvandersluis) - #9331: Mark
Style/MutableConstant
as unsafe. (@koic)