New features
- Add
AllowDoxygenCommentStyle
configuration onLayout/LeadingCommentSpace
. (@anthony-robin) - #7114: Add
MultilineWhenThen
cop. (@okuramasafumi) - #4127: Add
--disable-uncorrectable
flag to generaterubocop:disable
comments. (@vergenzt, @jonas054)
Bug fixes
- #7170: Fix a false positive for
Layout/RescueEnsureAlignment
when def line is preceded withprivate_class_method
. (@tatsuyafw) - #7186: Fix a false positive for
Style/MixinUsage
when using inside multiline block andif
condition is afterinclude
. (@koic) - #7099: Fix an error of
Layout/RescueEnsureAlignment
on assigned blocks. (@tatsuyafw) - #5088: Fix an error of
Layout/MultilineMethodCallIndentation
on method chains inside an argument. (@buehmann) - #4719: Make
Layout/Tab
detect tabs between string literals. (@buehmann) - #7203: Fix an infinite loop error for
Layout/SpaceInsideBlockBraces
whenEnforcedStyle: no_space
withSpaceBeforeBlockParameters: false
are set in multiline block. (@koic) - #6653: Fix a bug where
Layout/IndentHeredoc
would remove empty lines when autocorrecting heredocs. (@buehmann)