Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rubocop (0.81 → 1.22.0) · Repo · Changelog
Release Notes
Too many releases to show here. View the full release notes.
Commits
See the full diff on Github. The new version differs by 71 commits:
Cut 1.22.0
Fix a changelog entry
Update Changelog
[Fix #10135] Fix `Style/WordArray` to exclude files in `--auto-gen-config` when `percent` style is given but brackets are required.
Merge pull request #10139 from dvandersluis/issue/10134
[Fix #10134] Update `Style/MutableConstant` to not consider multiline uninterpolated strings as unfrozen in ruby 3.0.
Merge pull request #10137 from dvandersluis/issue/10136
[Fix #10136] Update `Lint/AssignmentInCondition` to not consider assignments within blocks in conditions.
Update the message for `Style/OptionalBooleanParameter`.
Merge pull request #9961 from lilisako/fix-shadow-variable-in-rescued-exceptions-variable-name
Add new `Security/IoMethods` cop
Fix a typo
Add spell checking GitHub Actions workflow
Minor refactor of `Style/RedundantSort`.
Update `Style/RedundantSort` to be unsafe.
Revert changes from #10061.
Replace `Cop` with `Base` in tests to prepare for deprecating `Cop`.
Reorganize RuboCop help into sections for better clarity.
Fix new `Style/SelectByRegexp` offenses.
Update `Style/SelectByRegexp` to handle `numblock`s.
[Fix #8327] Add new `Style/SelectByRegexp` cop.
[Fix #9588] Fix causing a variable to be shadowed from outside the rescue block
Merge pull request #10124 from dvandersluis/fix/redundant-line-break
Merge pull request #10131 from dvandersluis/issue/10130
[Fix #10130] Update `Lint/ElseLayout` to be able to handle an `else` with only a single line.
Corrected Layout/SpaceInsideParens compact style documentation
Implemented left compaction for SpaceInsideParens Compact style
Implemented Layout/SpaceInsideParens with EnforcedStyle: compact
Correct new `Layout/RedundantLineBreak` offenses.
Add new Style/NumberedParameters cop
[Fix #9934] Fix configuration loading to not raise an error for an obsolete ruby version that is subsequently overridden.
[Fix #10106] Fix `Style/RedundantSelf` for pattern matching.
Add new `Style/NumberedParametersLimit` cop.
Merge pull request #10119 from dvandersluis/issue/10118
Merge pull request #10123 from dvandersluis/update-gem-cops-base
Tweak offense highlight range for `Style/RedundantFileExtensionInRequire`
Fix `Layout/RedundantLineBreak` adding extra space within method chains.
Use `Cop::Base` for `Bundler/OrderedGems` and `Gemspec/OrderedDependencies`.
Merge pull request #10121 from dvandersluis/lint/require-relative-self-path
Fix false positive for `Lint/RequireRelativeSelfPath` when requiring a file with the same name but different extension.
[Fix #10118] Fix crash with `Style/RedundantSort` when the block doesn't only contain a single `send` node.
Merge pull request #10109 from dvandersluis/update-new-cop-instructions
Merge pull request #10113 from dvandersluis/issue/10110
[Fix #10110] Update `Layout/DotPosition` to be able to handle heredocs.
Update the `rake new_cop` instructions for changelogs.
Bump RuboCop Rspec to 2.5
Merge pull request #10099 from casperisfine/fix-redundant-freeze
Merge pull request #10107 from ngoral/typo_in_block_parameter_name_doc
Typo in docs for config option for Naming/BlockParameterName
`Style/RedundantFreeze` stop considering `ENV` values as immutable
[Fix #10103] Add `AllowHttpProtocol` option to `Bundler/InsecureProtocolSource`
Merge pull request #10101 from dvandersluis/issue/10096
[Fix #10096] Fix `Lint/AmbiguousOperatorPrecedence` with `and`/`or` operators.
[Fix #8431] Add `@safety` section to all cops that are `Safe: false` or `SafeAutoCorrect: false`.
Allow safety information to be added to cop descriptions.
Enable `Lint/BooleanSymbol` cop
Merge pull request #10091 from koic/fix_false_negative_for_style_arguments_forwarding
Merge pull request #10088 from dvandersluis/boolean-symbol
Update `Lint/BooleanSymbol` to be `SafeAutoCorrect: false` rather than `Safe: false`.
[Fix #10090] Fix a false negative for `Style/ArgumentsForwarding`
[Fix #10084] Add new `Lint/RequireRelativeSelfPath` cop
Update the documentation for `Lint/BinaryOperatorWithIdenticalOperands` to mention the operators that are ignored.
Merge pull request #10086 from dvandersluis/expect-no-corrections
Guard against `expect_corrections` with no changes.
Migrate ABC size doc from Markdown to AsciiDoc for Antora
Fix confusing test in case_indentation_spec.rb
[Docs] Interpreting ABCSize (#10076)
[Fix #10066] Fix how `MinDigits` is calculated for `Style/NumericLiterals` when generating a configuration file.
Merge pull request #10078 from dvandersluis/layout/line-length-without-directive
Fix `Layout/LineLength` reported length when ignoring directive comments.
Switch back the docs version
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands