New features
- #7528: Add new
Lint/NonDeterministicRequireOrder
cop. (@mangara) - #7559: Add
EnforcedStyleForExponentOperator
parameter toLayout/SpaceAroundOperators
cop. (@khiav223577)
Bug fixes
- #7530: Typo in
Style/TrivialAccessors
'sAllowedMethods
. (@movermeyer) - #7532: Fix an error for
Style/TrailingCommaInArguments
when using an anonymous function with multiple line arguments withEnforcedStyleForMultiline: consistent_comma
. (@koic) - #7534: Fix an incorrect autocorrect for
Style/BlockDelimiters
cop andLayout/SpaceBeforeBlockBraces
cop withEnforcedStyle: no_space
when using multiline braces. (@koic) - #7231: Fix the exit code to be
2
rather when0
when the config file contains an unknown cop. (@jethroo) - #7513: Fix abrupt error on autocorrecting with
--disable-uncorrectable
. (@tejasbubane) - #7537: Fix a false positive for
Layout/SpaceAroundOperators
when using a Rational literal with/
(e.g.2/3r
). (@koic) - #7029: Make
Style/Attr
not flag offense for customattr
method. (@tejasbubane) - #7574: Fix a corner case that made
Style/GuardClause
crash. (@buehmann)
Changes
- #7514: Expose correctable status on offense and in formatters. (@tyler-ball)
- #7542: (Breaking) Move
LineLength
cop fromMetrics
department toLayout
department. (@koic)