#9125: Allow ConfigObsoletion to be extended by other RuboCop libraries. (@dvandersluis)
#9182: Support auto-correction for Style/RedundantArgument. (@koic)
#9186: Support auto-correction for Style/FloatDivision. (@koic)
#9167: Support auto-correct for StyleSingleLineBlockParams. (@koic)
Bug fixes
#9177: Remove back-ref related code from Style/SpecialGlobalVars. (@r7kamura)
#9160: Fix an incorrect auto-correct for Style/IfUnlessModifier and Style/SoleNestedConditional when auto-correction conflicts for guard condition. (@koic)
#9174: Handle send nodes with unparenthesized arguments in Style/SoleNestedConditional. (@dvandersluis)
#9184: Layout/EmptyLinesAroundAttributeAccessor fails if the attr_accessor is the last line of the file. (@tas50)
Changes
#9171: Add "did you mean" message when failing due to invalid cops in configuration. (@dvandersluis)
#8897: Change Style/StringConcatenation to accept line-end concatenation between two strings so that Style/LineEndConcatenation can handle it instead. (@dvandersluis)
#9172: Add Style/PerlBackrefs targets and change message more detailed. (@r7kamura)
#9187: Update formatters to output [Correctable] for correctable offenses. (@dvandersluis)
#9169: Add obsoletion warnings for Performance/* and Rails/* which are in separate gems now. (@dvandersluis)
RuboCop 1.5.2
Bug fixes
#9152: Fix an incorrect auto-correct for Style/SoleNestedConditional when nested || operator modifier condition. (@koic)
#9161: Fix a false positive for Layout/HeredocArgumentClosingParenthesis when using subsequence closing parentheses in the same line. (@koic)
#9151: Fix SuggestExtensions to not suggest extensions that are installed but not direct dependencies. (@dvandersluis)
#9155: Fix a false positive for Layout/MultilineMethodCallIndentation when multiline method chain has expected indent width and the method is preceded by splat for EnforcedStyle: indented_relative_to_receiver. (@koic)
Changes
#9080: Make Lint/ShadowingOuterVariable aware of Ractor. (@tejasbubane)
#9125: Allow ConfigObsoletion to be extended by other RuboCop libraries. ([@dvandersluis][])
#9182: Support auto-correction for Style/RedundantArgument. ([@koic][])
#9186: Support auto-correction for Style/FloatDivision. ([@koic][])
#9167: Support auto-correct for StyleSingleLineBlockParams. ([@koic][])
Bug fixes
#9177: Remove back-ref related code from Style/SpecialGlobalVars. ([@r7kamura][])
#9160: Fix an incorrect auto-correct for Style/IfUnlessModifier and Style/SoleNestedConditional when auto-correction conflicts for guard condition. ([@koic][])
#9174: Handle send nodes with unparenthesized arguments in Style/SoleNestedConditional. ([@dvandersluis][])
#9184: Layout/EmptyLinesAroundAttributeAccessor fails if the attr_accessor is the last line of the file. ([@tas50][])
Changes
#9171: Add "did you mean" message when failing due to invalid cops in configuration. ([@dvandersluis][])
#8897: Change Style/StringConcatenation to accept line-end concatenation between two strings so that Style/LineEndConcatenation can handle it instead. ([@dvandersluis][])
#9172: Add Style/PerlBackrefs targets and change message more detailed. ([@r7kamura][])
#9187: Update formatters to output [Correctable] for correctable offenses. ([@dvandersluis][])
#9169: Add obsoletion warnings for Performance/* and Rails/* which are in separate gems now. ([@dvandersluis][])
1.5.2 (2020-12-04)
Bug fixes
#9152: Fix an incorrect auto-correct for Style/SoleNestedConditional when nested || operator modifier condition. ([@koic][])
#9161: Fix a false positive for Layout/HeredocArgumentClosingParenthesis when using subsequence closing parentheses in the same line. ([@koic][])
#9151: Fix SuggestExtensions to not suggest extensions that are installed but not direct dependencies. ([@dvandersluis][])
#9155: Fix a false positive for Layout/MultilineMethodCallIndentation when multiline method chain has expected indent width and the method is preceded by splat for EnforcedStyle: indented_relative_to_receiver. ([@koic][])
Changes
#9080: Make Lint/ShadowingOuterVariable aware of Ractor. ([@tejasbubane][])
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps rubocop from 0.75.0 to 1.6.0.
Release notes
Sourced from rubocop's releases.
Changelog
Sourced from rubocop's changelog.
Commits
64e8c47
Cut 1.6337570f
Update Changelogfe46341
[Fix #9160] Fix an incorrect auto-correct forStyle/SoleNestedConditional
1386f77
UpdatedLayout/LineLength
,Style/CharacterLiteral
,Style/IpAddresses
, `...8f2fdbe
Fix cli_autocorrect_spec failures now that #9187 and #9190 are merged.24765a0
[Fix #9175] Fix status for offenses that are not correctable.0146f4f
[Fix #7801] Update documentation forNaming/AccessorMethodName
.ebd90fb
[Fix #8897] ChangeStyle/StringConcatenation
to accept line-end concatenati...dbd9aca
Update formatters to output[Correctable]
for correctable offenses.3a2786f
Update reference forStyle/FloatDivision
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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)