#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)
#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)
RuboCop 1.54
New features
#12000: Support safe or unsafe autocorrect config for LSP. (@koic)
Bug fixes
#12005: Fix a false negative for Lint/Debugger when using debugger method inside lambda. (@koic)
#11986: Fix a false positive for Lint/MixedCaseRange when the number of characters at the start or end of range is other than 1. (@koic)
#11992: Fix an unexpected NoMethodError for built-in language server when an internal error occurs. (@koic)
#11994: Fix an error for Layout/LineEndStringConcatenationIndentation when inspecting the % from string %\n\n. (@koic)
#12007: Fix an error for Layout/SpaceAroundOperators when using unary operator with double colon. (@koic)
#11996: Fix an error for Style/IfWithSemicolon when without branch bodies. (@koic)
#12009: Fix an error for Style/YodaCondition when equality check method is used without the first argument. (@koic)
#11998: Fix an error when inspecting blank heredoc delimiter. (@koic)
#11989: Fix an incorrect autocorrect for Style/RedundantRegexpArgument when using unicode chars. (@koic)
#12001: Fix code length calculator for method calls with heredoc. (@fatkodima)
#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][])
Bug fixes
#12005: Fix a false negative for Lint/Debugger when using debugger method inside lambda. ([@koic][])
#11986: Fix a false positive for Lint/MixedCaseRange when the number of characters at the start or end of range is other than 1. ([@koic][])
#11992: Fix an unexpected NoMethodError for built-in language server when an internal error occurs. ([@koic][])
#11994: Fix an error for Layout/LineEndStringConcatenationIndentation when inspecting the % from string %\n\n. ([@koic][])
#12007: Fix an error for Layout/SpaceAroundOperators when using unary operator with double colon. ([@koic][])
#11996: Fix an error for Style/IfWithSemicolon when without branch bodies. ([@koic][])
#12009: Fix an error for Style/YodaCondition when equality check method is used without the first argument. ([@koic][])
#11998: Fix an error when inspecting blank heredoc delimiter. ([@koic][])
#11989: Fix an incorrect autocorrect for Style/RedundantRegexpArgument when using unicode chars. ([@koic][])
#12001: Fix code length calculator for method calls with heredoc. ([@fatkodima][])
#12002: Fix Lint/Void cop for __ENCODING__ constant. ([@fatkodima][])
Changes
#11983: Add Ridgepole files to default Include list. ([@ydah][])
#11738: Enhances empty_line_between_defs to treat configured macros like defs. ([@catwomey][])
1.53.1 (2023-06-26)
Bug fixes
#11974: Fix an error for Style/RedundantCurrentDirectoryInPath when using string interpolation in require_relative. ([@koic][])
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 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)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
... (truncated)
Changelog
Sourced from rubocop's changelog.
... (truncated)
Commits
bfbf597
Cut 1.54.2514f52e
Update Changelog6fc9a21
[Doc] Fix an incorrect link in the LSP doc02c32b4
Fix a false negative forLayout/ExtraSpacing
bd4e0db
Merge pull request #12040 from koic/fix_a_false_positive_for_layout_trailing_...6a8e06d
[Doc] Add a configuration example of nvim-lspconfig to the LSP doca6d5a17
UseAST::Node#call_type?
dbde254
Fix a false positive forLayout/TrailingEmptyLines
a573855
Merge pull request #12038 from knu/output_restarting_message_to_stderr34faa8c
Output the "server restarting" message to stderrYou 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 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)