RuboCop 1.62
Note: This is the first RuboCop release that features (experimental) support for using Prism
instead of the parser
gem. Check out the docs for more details.
See also this article for additional context.
New features
- #12600: Support Prism as a Ruby parser (experimental). (@koic)
- #12725: Support
TargetRubyVersion 3.4
(experimental). (@koic)
Bug fixes
- #12746: Fix a false positive for
Lint/ToEnumArguments
when enumerator is created for another method in no arguments method definition. (@koic) - #12726: Fix a false positive for
Style/RedundantLineContinuation
when using line concatenation and calling a method with keyword arguments without parentheses. (@koic) - #12738: Fix an error for
Style/Encoding
when magic encoding with mixed case present. (@koic) - #12732: Fix error determining target Ruby when gemspec
required_ruby_version
is read from another file. (@davidrunger) - #12736: Fix invalid autocorrect in
Layout/SpaceInsideHashLiteralBraces
. (@bquorning) - #12667: Don't load excluded configuration. (@jonas054)