New features
- #12904: Add new
either_consistent
SupportedShorthandSyntax
toStyle/HashSyntax
. (@pawelma) - #12842: Add new
Style/SendWithLiteralMethodName
cop. (@koic) - #12309: Add new
Style/SuperArguments
cop. (@earlopain) - #12917: Suggest correct formatter name for
--format
command line option. (@koic) - #12242: Support
AllowModifiersOnAttrs
option forStyle/AccessModifierDeclarations
. (@krororo) - #11585: Support
AllowedMethods
forStyle/DocumentationMethod
. (@koic)
Bug fixes
- #7189: Fix a false positive for
Style/Copyright
when using multiline copyright notice. (@koic) - #12914: Fix a false negative for
Layout/EmptyComment
when using an empty comment next to code after comment line. (@koic) - #12919: Fix false negatives for
Style/ArgumentsForwarding
when forward target issuper
. (@koic) - #12923: Fix false negatives for
Style/ArgumentsForwarding
when forward target is safe navigation method. (@koic) - #12894: Fix false positives for
Style/MapIntoArray
when usingeach
without receiver with<<
to build an array. (@koic) - #12876: Fix an error for the lockfile parser if a gemfile exists but a lockfile doesn't. (@earlopain)
- #12888: Fix
--no-exclude-limit
generating a todo withMax
config instead of listing everything out withExclude
. (@earlopain) - #12898: Fix an error for
TargetRailsVersion
when parsing from the lockfile with prerelease rails. (@earlopain)
Changes
- #12908: Add rubocop-rspec back to suggested extensions when rspec-rails is in use. (@pirj)
- #12884: Align output from
cop.documentation_url
with--show-docs-url
when passing a config as argument. (@earlopain) - #12890: Support
ActiveSupportExtensionsEnabled
forStyle/SymbolProc
. (@koic) - #12897: Respect user's intentions with
workspace/executeCommand
LSP method. (@koic)