New features
- #8983: Support auto-correction for
Naming/HeredocDelimiterCase
. (@koic) - #8004: Add new
GitHubActionsFormatter
formatter. (@lautis) - #8175: Add new
AllowedCompactTypes
option forStyle/RaiseArgs
. (@pdobb) - #8566: Add new
Style/CollectionCompact
cop. (@fatkodima) - #8925: Add
--display-time
option for displaying elapsed time ofrubocop
command. (@joshuapinter) - #8967: Add new
Style/NegatedIfElseCondition
cop. (@fatkodima) - #8984: Support auto-correction for
Style/DoubleNegation
. (@koic) - #8992: Support auto-correction for
Lint/ElseLayout
. (@koic) - #8988: Support auto-correction for
Lint/UselessSetterCall
. (@koic) - #8982: Support auto-correction for
Naming/BinaryOperatorParameterName
. (@koic)
Bug fixes
- #8989: Fix multibyte support in the regexp node handler that led
Style/RedundantRegexpEscape
to malfunction and corrupt a program in auto-correction. (@knu) - #8912: Fix
Layout/ElseAlignment
forrescue/else/ensure
insidedo/end
blocks with assignment. (@miry) - #8971: Fix a false alarm for
# rubocop:disable Lint/EmptyBlock
inline comment withLint/RedundantCopDisableDirective
. (@koic) - #8976: Fix an incorrect auto-correct for
Style/KeywordParametersOrder
when whenkwoptarg
is beforekwarg
and argument parentheses omitted. (@koic) - #8084: Fix a bug in how
Layout/SpaceAroundBlockParameters
handles block parameters with a trailing comma. (@bquorning) - #8966: Fix
Layout/SpaceInsideParens
to enforce no spaces in empty parens for all styles. (@joshuapinter)
Changes
- #5717: Support
defined?
-based memoization forNaming/MemoizedInstanceVariableName
cop. (@fatkodima) - #8964: Extend
Naming/VariableNumber
cop to handle method names and symbols. (@fatkodima)