#12917: Suggest correct formatter name for --format command line option. (@koic)
#12242: Support AllowModifiersOnAttrs option for Style/AccessModifierDeclarations. (@krororo)
#11585: Support AllowedMethods for Style/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 is super. (@koic)
#12923: Fix false negatives for Style/ArgumentsForwarding when forward target is safe navigation method. (@koic)
#12894: Fix false positives for Style/MapIntoArray when using each 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 with Max config instead of listing everything out with Exclude. (@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 for Style/SymbolProc. (@koic)
#12897: Respect user's intentions with workspace/executeCommand LSP method. (@koic)
RuboCop 1.63.5
Bug fixes
#12877: Fix an infinite loop error for Layout/FirstArgumentIndentation when specifying EnforcedStyle: with_fixed_indentation of Layout/ArrayAlignment. (@koic)
#12873: Fix an error for Metrics/BlockLength when the CountAsOne config is invalid. (@koic)
#12881: Fix incorrect autocorrect when Style/NumericPredicate is used with negations. (@fatkodima)
#12882: Fix Layout/CommentIndentation for comment-only pattern matching. (@nekketsuuu)
RuboCop 1.63.4
Bug fixes
#12871: Fix an error for rubocop -V when .rubocop.yml contains ERB. (@earlopain)
#12917: Suggest correct formatter name for --format command line option. ([@koic][])
#12242: Support AllowModifiersOnAttrs option for Style/AccessModifierDeclarations. ([@krororo][])
#11585: Support AllowedMethods for Style/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 is super. ([@koic][])
#12923: Fix false negatives for Style/ArgumentsForwarding when forward target is safe navigation method. ([@koic][])
#12894: Fix false positives for Style/MapIntoArray when using each 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 with Max config instead of listing everything out with Exclude. ([@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 for Style/SymbolProc. ([@koic][])
#12897: Respect user's intentions with workspace/executeCommand LSP method. ([@koic][])
1.63.5 (2024-05-09)
Bug fixes
#12877: Fix an infinite loop error for Layout/FirstArgumentIndentation when specifying EnforcedStyle: with_fixed_indentation of Layout/ArrayAlignment. ([@koic][])
#12873: Fix an error for Metrics/BlockLength when the CountAsOne config is invalid. ([@koic][])
#12881: Fix incorrect autocorrect when Style/NumericPredicate is used with negations. ([@fatkodima][])
#12882: Fix Layout/CommentIndentation for comment-only pattern matching. ([@nekketsuuu][])
1.63.4 (2024-04-28)
Bug fixes
#12871: Fix an error for rubocop -V when .rubocop.yml contains ERB. ([@earlopain][])
#12862: Fix a false positive for Style/RedundantLineContinuation when line continuations involve return with a return value. ([@koic][])
#12664: Fix handling of textDocument/diagnostic. ([@muxcmux][])
#12865: Fix Rails Cops, which weren't reporting any violations unless running with bundle exec. ([@amomchilov][])
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps rubocop from 1.62.1 to 1.64.0.
Release notes
Sourced from rubocop's releases.
... (truncated)
Changelog
Sourced from rubocop's changelog.
... (truncated)
Commits
91a19d6
Cut 1.64727539d
Update Changelog3227bf0
[Fix #12309] Add newStyle/SuperArguments
cop9e78c46
Fix false negatives forStyle/ArgumentsForwarding
9408d0d
[Fix #12242] SupportAllowModifiersOnAttrs
option for `Style/AccessModifier...a909dda
[Fix #12919] Fix false negatives forStyle/ArgumentsForwarding
aee64e2
Rename new SupportedShorthandSyntax from consistent_either to either_consistent86b0c39
Fix non existing wording in HashShorthandSyntax method nameb9686b5
Add changelog/new_add_new_consistent_either.md71abb5d
Add newconsistent_either
SupportedShorthandSyntax to Style/HashSyntaxDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show