#10699: Add new global ActiveSupportExtensionsEnabled option. (@nobuyo)
#10245: Add specification_version and rubygems_version to Gemspec/DeprecatedAttributeAssignment. (@kaitielth)
#10696: Add new Lint/NonAtomicFileOperation cop. (@ydah)
#6420: Add new Layout/LineContinuationLeadingSpace cop. (@bquorning)
#6420: Add new Layout/LineContinuationSpacing cop. (@bquorning)
#10706: Integrate rubocop-daemon to add server options. (@koic)
#10722: Add new Lint/ConstantOverwrittenInRescue cop. (@ydah)
Bug fixes
#10700: Update Style/EmptyMethod to not correct if the correction would exceed the configuration for Layout/LineLength. (@dvandersluis)
#10698: Enhance Style/HashExcept to support array inclusion checks. (@nobuyo)
#10734: Handle ClobberingError in Style/NestedTernaryOperator when there are multiple nested ternaries. (@dvandersluis)
#10689: Fix autocorrect for Layout/FirstHashElementIndentation and Layout/FirstArrayElementIndentation. (@j-miyake)
Fix rubocop -V not displaying the version information for rubocop-graphql, rubocop-md and rubocop-thread_safety. (@Darhazer)
#10711: Fix an error for Style/MultilineTernaryOperator when the false branch is on a separate line. (@koic)
#10719: Fix a false positive for Lint/ParenthesesAsGroupedExpression when using safe navigation operator. (@koic)
#10736: Fix Layout/SpaceInsideBlockBraces for blocks with numbered arguments. (@gsamokovarov)
#10749: Fix Style/BlockDelimiters for blocks with numbered arguments. (@gsamokovarov)
#10737: Fix crash in Style/ConditionalAssignment with EnforcedStyle: assign_inside_condition when op-assigning a variable inside a resbody. (@dvandersluis)
#7900: Fix Style/FormatStringToken false positive with formatted input and template style enforced, and add autocorrection. (@FnControlOption)
Changes
#10730: Change output timing of GitHubActionsFormatter. (@r7kamura)
#10709: Deprecate rubocop:auto_correct custom rake task and newly split rubocop:autocorrect and rubocop:autocorrect-all custom rake tasks. (@koic)
#9760: Change RangeHelp#range_with_surrounding_space to allow passing the range as a positional argument. (@pirj)
#10693: Add ignore case for Style/EmptyLinesAroundAttributeAccessor when there is a comment line on the next line. (@ydah)
#10245: (Breaking) integrate Gemspec/DateAssignment into Gemspec/DeprecatedAttributeAssignment. (@kaitielth)
#10699: Add new global ActiveSupportExtensionsEnabled option. ([@nobuyo][])
#10245: Add specification_version and rubygems_version to Gemspec/DeprecatedAttributeAssignment. ([@kaitielth][])
#10696: Add new Lint/NonAtomicFileOperation cop. ([@ydah][])
#6420: Add new Layout/LineContinuationLeadingSpace cop. ([@bquorning][])
#6420: Add new Layout/LineContinuationSpacing cop. ([@bquorning][])
#10706: Integrate rubocop-daemon to add server options. ([@koic][])
#10722: Add new Lint/ConstantOverwrittenInRescue cop. ([@ydah][])
Bug fixes
#10700: Update Style/EmptyMethod to not correct if the correction would exceed the configuration for Layout/LineLength. ([@dvandersluis][])
#10698: Enhance Style/HashExcept to support array inclusion checks. ([@nobuyo][])
#10734: Handle ClobberingError in Style/NestedTernaryOperator when there are multiple nested ternaries. ([@dvandersluis][])
#10689: Fix autocorrect for Layout/FirstHashElementIndentation and Layout/FirstArrayElementIndentation. ([@j-miyake][])
Fix rubocop -V not displaying the version information for rubocop-graphql, rubocop-md and rubocop-thread_safety. ([@Darhazer][])
#10711: Fix an error for Style/MultilineTernaryOperator when the false branch is on a separate line. ([@koic][])
#10719: Fix a false positive for Lint/ParenthesesAsGroupedExpression when using safe navigation operator. ([@koic][])
#10736: Fix Layout/SpaceInsideBlockBraces for blocks with numbered arguments. ([@gsamokovarov][])
#10749: Fix Style/BlockDelimiters for blocks with numbered arguments. ([@gsamokovarov][])
#10737: Fix crash in Style/ConditionalAssignment with EnforcedStyle: assign_inside_condition when op-assigning a variable inside a resbody. ([@dvandersluis][])
#7900: Fix Style/FormatStringToken false positive with formatted input and template style enforced, and add autocorrection. ([@FnControlOption][])
Changes
#10730: Change output timing of GitHubActionsFormatter. ([@r7kamura][])
#10709: Deprecate rubocop:auto_correct custom rake task and newly split rubocop:autocorrect and rubocop:autocorrect-all custom rake tasks. ([@koic][])
#9760: Change RangeHelp#range_with_surrounding_space to allow passing the range as a positional argument. ([@pirj][])
#10693: Add ignore case for Style/EmptyLinesAroundAttributeAccessor when there is a comment line on the next line. ([@ydah][])
#10245: (Breaking) integrate Gemspec/DateAssignment into Gemspec/DeprecatedAttributeAssignment. ([@kaitielth][])
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.30.1 to 1.31.0.
Release notes
Sourced from rubocop's releases.
Changelog
Sourced from rubocop's changelog.
Commits
f94048d
Cut 1.31d4d590f
Update Changelogf9febbe
Add newLint/NonAtomicFileOperation
copae3dec3
Merge pull request #10749 from gsamokovarov/numblock-delimiters199c4b7
Fix Style/BlockDelimiters for blocks with numbered arguments9e286a0
Pass range as a positional arg to RangeHelp#range_with_surrounding_spacebdd1d1f
#9760 Allow positional range arg in range_with_surrounding_space4998f9e
Merge pull request #10747 from dvandersluis/doc/style/empty-methodc912ade
Add note toStyle/EmptyMethod
documentation about autocorrection re: `Layou...83d500f
[Fix #10734] HandleClobberingError
inStyle/NestedTernaryOperator
when t...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)