#6289: Add new CheckDefinitionPathHierarchy option for Naming/FileName. (@jschneid)
#8055: Add new Style/RedundantRegexpCharacterClass cop. (@owst)
#8069: New option for expect_offense to help format offense templates. (@marcandre)
#7908: Add new Style/RedundantRegexpEscape cop. (@owst)
#7978: Add new option OnlyFor to the Bundler/GemComment cop. (@ric2b)
#8063: Add new AllowedNames option for Naming/ClassAndModuleCamelCase. (@tejasbubane)
#8050: New option --display-only-failed that can be used with --format junit. Speeds up test report processing for large codebases and helps address the sorts of concerns raised at [mikian/rubocop-junit-formatter #18](mikian/rubocop-junit-formatter#18). (@burnettk)
#7746: Add new Lint/MixedRegexpCaptureTypes cop. (@pocke)
Bug fixes
#8008: Fix an error for Lint/SuppressedException when empty rescue block in def. (@koic)
#8012: Fix an incorrect autocorrect for Lint/DeprecatedOpenSSLConstant when deprecated OpenSSL constant is used in a block. (@koic)
#8017: Fix a false positive for Lint/SuppressedException when empty rescue with comment in def. (@koic)
#7990: Fix resolving inherit_gem in remote configs. (@CvX)
#8035: Fix a false positive for Lint/DeprecatedOpenSSLConstant when using double quoted string argument. (@koic)
#7971: Fix an issue where --disable-uncorrectable would not update uncorrected code with rubocop:todo. (@rrosenblum)
#8035: Fix a false positive for Lint/DeprecatedOpenSSLConstant when argument is a variable, method, or consntant. (@koic)
Changes
#8056: (Breaking) Remove support for unindent/active_support/powerpack from Layout/HeredocIndentation, so it only recommends using squiggy heredoc. (@bquorning)
#6289: Add new CheckDefinitionPathHierarchy option for Naming/FileName. ([@jschneid][])
#8055: Add new Style/RedundantRegexpCharacterClass cop. ([@owst][])
#8069: New option for expect_offense to help format offense templates. ([@marcandre][])
#7908: Add new Style/RedundantRegexpEscape cop. ([@owst][])
#7978: Add new option OnlyFor to the Bundler/GemComment cop. ([@ric2b][])
#8063: Add new AllowedNames option for Naming/ClassAndModuleCamelCase. ([@tejasbubane][])
#8050: New option --display-only-failed that can be used with --format junit. Speeds up test report processing for large codebases and helps address the sorts of concerns raised at [mikian/rubocop-junit-formatter #18](mikian/rubocop-junit-formatter#18). ([@burnettk][])
#7746: Add new Lint/MixedRegexpCaptureTypes cop. ([@pocke][])
Bug fixes
#8008: Fix an error for Lint/SuppressedException when empty rescue block in def. ([@koic][])
#8012: Fix an incorrect autocorrect for Lint/DeprecatedOpenSSLConstant when deprecated OpenSSL constant is used in a block. ([@koic][])
#8017: Fix a false positive for Lint/SuppressedException when empty rescue with comment in def. ([@koic][])
#7990: Fix resolving inherit_gem in remote configs. ([@CvX][])
#8035: Fix a false positive for Lint/DeprecatedOpenSSLConstant when using double quoted string argument. ([@koic][])
#7971: Fix an issue where --disable-uncorrectable would not update uncorrected code with rubocop:todo. ([@rrosenblum][])
#8035: Fix a false positive for Lint/DeprecatedOpenSSLConstant when argument is a variable, method, or consntant. ([@koic][])
Changes
#8056: (Breaking) Remove support for unindent/active_support/powerpack from Layout/HeredocIndentation, so it only recommends using squiggy heredoc. ([@bquorning][])
#7950: Add new Lint/DeprecatedOpenSSLConstant cop. ([@bdewater][])
#7976: Add AllowAliasSyntax and AllowedMethods options for Layout/EmptyLinesAroundAttributeAccessor. ([@koic][])
#7984: New rake task "check_commit" will run rspec and rubocop on files touched by the last commit. Currently available when developing from the main repository only. ([@marcandre][])
Bug fixes
#7953: Fix an error for Lint/AmbiguousOperator when a method with no arguments is used in advance. ([@koic][])
#7962: Fix a false positive for Lint/ParenthesesAsGroupedExpression when heredoc has a space between the same string as the method name and (. ([@koic][])
#7967: Style/SlicingWithRange cop now supports any expression as its first index. ([@zverok][])
#7972: Fix an incorrect autocrrect for Style/HashSyntax when using a return value uses return. ([@koic][])
#7886: Fix a bug in AllowComments logic in Lint/SuppressedException. ([@jonas054][])
#7991: Fix an error for Layout/EmptyLinesAroundAttributeAccessor when attribute method is method chained. ([@koic][])
#7993: Fix a false positive for Migration/DepartmentName when a disable comment contains an unexpected character for department name. ([@koic][])
#7983: Make the config loader Bundler-aware. ([@CvX][])
Changes
#7952: (Breaking) Change the max line length of Layout/LineLength to 120 by default. ([@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)
- `@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)
Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
Changelog
Sourced from rubocop's changelog.
Commits
55e25e8
Cut 0.85b6eecee
Tweak a changelog entry141d181
[Docs] Fix a small grammar mistake510f3f7
Delete unused#autocorrect_source_with_loop
14a96ea
Useexpect_correction
withloop: true
e4af299
Add looping toexpect_correction
09ff7ea
No need to callautocorrect_source_with_loop
2ccaf3e
AddStyle/RedundantRegexpCharacterClass
cop348da8e
Fix an error forLint/MixedRegexpCaptureTypes
cop2bd7fe4
[Fix #7746] AddLint/MixedRegexpCaptureTypes
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)