#7916: Support autocorrection for Lint/AmbiguousRegexpLiteral. (@koic)
#7917: Support autocorrection for Lint/UselessAccessModifier. (@koic)
#595: Add ERB pre-processing for configuration files. (@jonas054)
#7918: Support autocorrection for Lint/AmbiguousOperator. (@koic)
#7937: Support autocorrection for Style/IfWithSemicolon. (@koic)
#3696: Add AllowComments option to Lint/EmptyWhen cop. (@koic)
#7910: Support autocorrection for Lint/ParenthesesAsGroupedExpression. (@koic)
#7925: Support autocorrection for Layout/ConditionPosition. (@koic)
#7934: Support autocorrection for Lint/EnsureReturn. (@koic)
#7922: Add new Layout/EmptyLineAroundAttributeAccessor cop. (@koic)
Bug fixes
#7929: Fix Style/FrozenStringLiteralComment to accept frozen_string_literal anywhere in leading comment lines. (@jeffcarbs)
#7882: Fix Style/CaseEquality when AllowOnConstant is true and the method receiver is implicit. (@rafaelfranca)
#7790: Fix --parallel and --ignore-parent-exclusion combination. (@jonas054)
#7881: Fix --parallel and --force-default-config combination. (@jonas054)
#7635: Fix a false positive for Style/MultilineWhenThen when then required for a body of when is used. (@koic)
#7905: Fix an error when running rubocop --only or rubocop --except options without cop name argument. (@koic)
#7903: Fix an incorrect autocorrect for Style/HashTransformKeys and Style/HashTransformValues cops when line break before to_h method. ([@diogoosorio][], @koic)
#7899: Fix an infinite loop error for Layout/SpaceAroundOperators with Layout/ExtraSpacing when using ForceEqualSignAlignment: true. (@koic)
#7885: Fix Style/IfUnlessModifier logic when tabs are used for indentation. (@jonas054)
#7909: Fix a false positive for Lint/ParenthesesAsGroupedExpression when using an intended grouped parentheses. (@koic)
#7913: Fix a false positive for Lint/LiteralAsCondition when using true literal in while and similar cases. (@koic)
#7928: Fix a false message for Style/GuardClause when using and or or operators for guard clause in then or else branches. (@koic)
#7928: Fix a false positive for Style/GuardClause when assigning the result of a guard condition with else. (@koic)
Changes
#7860: Change AllowInHeredoc option of Layout/TrailingWhitespace to true by default. (@koic)
#7094: Clarify alignment in Layout/MultilineOperationIndentation. (@jonas054)
#4245: (Breaking) Inspect all files given on command line unless --only-recognized-file-types is given. (@jonas054)
#7390: (Breaking) Enabling a cop overrides disabling its department. (@jonas054)
#7948: Mark unsafe for Style/OptionalArguments. (@koic)
#7931: Remove dependency on the jaro_winkler gem, instead depending on did_you_mean. This may be a breaking change for RuboCop libraries calling NameSimilarity#find_similar_name. ([@bquorning][])
#7916: Support autocorrection for Lint/AmbiguousRegexpLiteral. ([@koic][])
#7917: Support autocorrection for Lint/UselessAccessModifier. ([@koic][])
#595: Add ERB pre-processing for configuration files. ([@jonas054][])
#7918: Support autocorrection for Lint/AmbiguousOperator. ([@koic][])
#7937: Support autocorrection for Style/IfWithSemicolon. ([@koic][])
#3696: Add AllowComments option to Lint/EmptyWhen cop. ([@koic][])
#7910: Support autocorrection for Lint/ParenthesesAsGroupedExpression. ([@koic][])
#7925: Support autocorrection for Layout/ConditionPosition. ([@koic][])
#7934: Support autocorrection for Lint/EnsureReturn. ([@koic][])
#7922: Add new Layout/EmptyLineAroundAttributeAccessor cop. ([@koic][])
Bug fixes
#7929: Fix Style/FrozenStringLiteralComment to accept frozen_string_literal anywhere in leading comment lines. ([@jeffcarbs][])
#7882: Fix Style/CaseEquality when AllowOnConstant is true and the method receiver is implicit. ([@rafaelfranca][])
#7790: Fix --parallel and --ignore-parent-exclusion combination. ([@jonas054][])
#7881: Fix --parallel and --force-default-config combination. ([@jonas054][])
#7635: Fix a false positive for Style/MultilineWhenThen when then required for a body of when is used. ([@koic][])
#7905: Fix an error when running rubocop --only or rubocop --except options without cop name argument. ([@koic][])
#7903: Fix an incorrect autocorrect for Style/HashTransformKeys and Style/HashTransformValues cops when line break before to_h method. ([@diogoosorio][], [@koic][])
#7899: Fix an infinite loop error for Layout/SpaceAroundOperators with Layout/ExtraSpacing when using ForceEqualSignAlignment: true. ([@koic][])
#7885: Fix Style/IfUnlessModifier logic when tabs are used for indentation. ([@jonas054][])
#7909: Fix a false positive for Lint/ParenthesesAsGroupedExpression when using an intended grouped parentheses. ([@koic][])
#7913: Fix a false positive for Lint/LiteralAsCondition when using true literal in while and similar cases. ([@koic][])
#7928: Fix a false message for Style/GuardClause when using and or or operators for guard clause in then or else branches. ([@koic][])
#7928: Fix a false positive for Style/GuardClause when assigning the result of a guard condition with else. ([@koic][])
Changes
#7860: Change AllowInHeredoc option of Layout/TrailingWhitespace to true by default. ([@koic][])
#7094: Clarify alignment in Layout/MultilineOperationIndentation. ([@jonas054][])
#4245: (Breaking) Inspect all files given on command line unless --only-recognized-file-types is given. ([@jonas054][])
#7390: (Breaking) Enabling a cop overrides disabling its department. ([@jonas054][])
#7948: Mark unsafe for Style/OptionalArguments. ([@koic][])
#7931: Remove dependency on the jaro_winkler gem, instead depending on did_you_mean. This may be a breaking change for RuboCop libraries calling NameSimilarity#find_similar_name. ([@bquorning][])
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)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps rubocop from 0.82.0 to 0.83.0.
Release notes
Sourced from rubocop's releases.
Changelog
Sourced from rubocop's changelog.
Commits
bc62e24
Cut 0.8321a864f
Merge pull request #7951 from jethrodaniel/rakefiled64060f
addrakefile
(lowercase) to default config2a82508
Tweak a changelog entry063b4a8
Remove dependency onjaro_winkler
c92a591
Use DidYouMeanfd3ba1f
Change find_similar_name to a module_function77b59de
Simplify NameSimilarity.find_similar_name865930c
Add newLayout/EmptyLineAroundAttributeAccessor
copee2d393
Mark unsafe forStyle/OptionalArguments
copDependabot 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) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)