#12062: Fix LoadError when loading RuboCop from a symlinked location on Windows. (@p0deje)
Changes
#12064: Make Style/RedundantArgument aware of exit and exit!. (@koic)
#12015: Mark Style/HashConversion as unsafe autocorrection. (@koic)
RuboCop 1.54.2
Bug fixes
#12043: Fix a false negative for Layout/ExtraSpacing when some characters are vertically aligned. (@koic)
#12040: Fix a false positive for Layout/TrailingEmptyLines to prevent the following incorrect autocorrection when inspecting the % form string %\n\n. (@koic)
#1867: Fix an error when AllCops:Exclude is empty in .rubocop.yml. (@koic)
#12034: Fix invalid byte sequence in UTF-8 error when using an invalid encoding string. (@koic)
#12038: Output the "server restarting" message to stderr. (@knu)
RuboCop 1.54.1
Bug fixes
#12024: Fix a false positive for Lint/RedundantRegexpQuantifiers when interpolation is used in a regexp literal. (@koic)
#11794: Add support to Style/ArgumentsForwarding for anonymous arg/kwarg forwarding in Ruby 3.2. ([@owst][])
#12044: Make LSP server support layoutMode option to run layout cops. ([@koic][])
#12056: Make LSP server support lintMode option to run lint cops. ([@koic][])
#12046: Make ReturnNilInPredicateMethodDefinition aware of nil at the end of predicate method definition. ([@koic][])
Bug fixes
#12055: Allow parentheses in single-line match patterns when using the omit_parentheses style of Style/MethodCallWithArgsParentheses. ([@gsamokovarov][])
#12050: Fix a false positive for Layout/RedundantLineBreak when inspecting the % form string %\n\n. ([@koic][])
#12063: Fix Style/CombinableLoops when one of the loops is empty. ([@fatkodima][])
#12059: Fix a false negative for Style/StringLiteralsInInterpolation for symbols with interpolation. ([@fatkodima][])
#11834: Fix false positive for when variable in inside conditional branch in nested node. ([@alexeyschepin][])
#11802: Improve handling of [] and () with percent symbol arrays. ([@jasondoc3][])
#12052: Fix "Subfolders can't include glob special characters". ([@meric426][], [@loveo][])
#12062: Fix LoadError when loading RuboCop from a symlinked location on Windows. ([@p0deje][])
Changes
#12064: Make Style/RedundantArgument aware of exit and exit!. ([@koic][])
#12015: Mark Style/HashConversion as unsafe autocorrection. ([@koic][])
1.54.2 (2023-07-13)
Bug fixes
#12043: Fix a false negative for Layout/ExtraSpacing when some characters are vertically aligned. ([@koic][])
#12040: Fix a false positive for Layout/TrailingEmptyLines to prevent the following incorrect autocorrection when inspecting the % form string %\n\n. ([@koic][])
#1867: Fix an error when AllCops:Exclude is empty in .rubocop.yml. ([@koic][])
#12034: Fix invalid byte sequence in UTF-8 error when using an invalid encoding string. ([@koic][])
#12038: Output the "server restarting" message to stderr. ([@knu][])
1.54.1 (2023-07-04)
Bug fixes
#12024: Fix a false positive for Lint/RedundantRegexpQuantifiers when interpolation is used in a regexp literal. ([@koic][])
#12020: This PR fixes an infinite loop error for Layout/SpaceAfterComma with Layout/SpaceBeforeSemicolon when autocorrection conflicts. ([@koic][])
#12014: Fix an error for Lint/UselessAssignment when part of a multiple assignment is enclosed in parentheses. ([@koic][])
#12011: Fix an error for Metrics/MethodLength when using a heredoc in a block without block arguments. ([@koic][])
#12010: Fix false negatives for Style/RedundantRegexpArgument when using safe navigation operator. ([@koic][])
1.54.0 (2023-07-01)
New features
#12000: Support safe or unsafe autocorrect config for LSP. ([@koic][])
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 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.50.2 to 1.55.0.
Release notes
Sourced from rubocop's releases.
... (truncated)
Changelog
Sourced from rubocop's changelog.
... (truncated)
Commits
f3790af
Cut 1.556279c57
Update Changelog1dfe386
Merge pull request #12067 from p0deje/patch-1e00f96c
Add changelog entry for #12062d379d8e
FixLoadError
on Windows when loading RuboCop from symlinksa1b302a
Enable anonymous forwarding in Style/ArgumentsForwarding for Ruby 3.2+ (#11794)80efbc0
Merge pull request #12065 from alexeyschepin/fix_ebug_for_lint_shadowing_oute...72ea085
[Fix #11834] Fix false positive for when variable in inside conditional bran...9bc0064
MakeStyle/RedundantArgument
aware ofexit
andexit!
7989e7d
Make LSP server supportlintMode
parameterDependabot 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 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)