#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][])
1.63.3 (2024-04-22)
Bug fixes
#12857: Fix false negatives for Lint/UnreachableCode when using pattern matching. ([@koic][])
#12852: Fix an error for Lint/EmptyFile in formatters when using cache. ([@earlopain][])
#12848: Fix an error that occurs in RuboCop::Lockfile when the constant Bundler is uninitialized. ([@koic][])
Changes
#12855: Set custom program name for the built-in LSP server. ([@koic][])
1.63.2 (2024-04-16)
Bug fixes
#12843: Fix an error for Lint/MixedCaseRange when a character between Z and a is used in the regexp range. ([@koic][])
#12846: Fix an error for RuboCop::Lockfile when there is no Bundler environment. ([@koic][])
#12832: Fix an error for Style/ArgumentsForwarding when using block arg in nested method definitions. ([@koic][])
#12841: Fix false negatives for Lint/UnreachableLoop when using pattern matching. ([@koic][])
#12835: Allow global offenses to be disabled by directive comments. ([@earlopain][])
Changes
#12845: Exclude debug/open_nonstop from Lint/Debugger by default. ([@koic][])
1.63.1 (2024-04-10)
Bug fixes
#12828: Fix a false positive for Lint/AssignmentInCondition if assigning inside a method call. ([@earlopain][])
#12823: Fixed "uninitialized constant RuboCop::Lockfile::Bundler", caused when running RuboCop without bundler exec on codebases that use rubocop-rails. ([@amomchilov][])
1.63.0 (2024-04-08)
New features
#11878: Add new Style/MapIntoArray cop. ([@ymap][])
#12186: Add new requires_gem API for declaring which gems a Cop needs. ([@amomchilov][])
You can trigger a rebase of this PR 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)
Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
Changelog
Sourced from rubocop's changelog.
... (truncated)
Commits
941d21b
Cut 1.63.4feb6022
Update Changelog81adab5
Fix an error forrubocop -V
when.rubocop.yml
contains ERB02aebff
Merge pull request #12866 from amomchilov/rescue-GemfileNotFounda8ef19c
Merge pull request #12867 from koic/fix_false_positive_for_style_redundant_li...45bbf67
[Fix #12865]require 'bundler'
if possible, but…2821564
[Fix #12862] Fix a false positive forStyle/RedundantLineContinuation
84877a3
Merge pull request #12664 from muxcmux/master5f4bbaa
Merge pull request #12863 from Uaitt/cli-options-missing-periods9e4bc4a
Add missing periods on CLI options descriptionsYou can trigger a rebase of this PR 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