Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.91 → 1.22.2) · 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 33 commits:
Cut 1.22.2
Update Changelog
Suppress warning: constant `Net::HTTPServerException` is deprecated
Updated `Gemspec/RequiredRubyVersion` register an offense when set to blank values.
[Fix #10200] Fix an error when inspecting a directory named `*`
[Fix #10186] Explicit block arg is not counted for `Metrics/ParameterLists`
Merge pull request #10193 from koic/fix_an_error_for_empty_lines_around_exception_handling_keywords
Fix an error for `Layout/EmptyLinesAroundExceptionHandlingKeywords`
Merge pull request #10187 from koic/fix_false_positive_for_lint_ambiguous_range
[Fix #10185] Fix a false positive for `Lint/AmbiguousRange`
Merge pull request #10183 from koic/ci_against_jruby_9_3
CI against JRuby 9.3
Merge pull request #10181 from koic/fix_an_error_for_style_select_by_regexp
[Fix #10180] Fix an error for `Style/SelectByRegexp`
Merge pull request #10176 from koic/unmark_autocorrect_false_from_security_json_load
Merge pull request #10177 from dvandersluis/issue/10172
Add documentation about `rubocop-daemon`.
Unmark `AutoCorrect: false` from `Security/JSONLoad`
Merge pull request #10169 from dvandersluis/same-line
Tweak spell checking GitHub Actions workflow name
Merge pull request #10171 from franzliedke/hash-transform-values-leftover-to_h
Style/HashTransform*: Fix incorrect auto-correction when inside block body
[Fix #8101] Reformat `rake spec` output to amplify signal and reduce noise.
Merge pull request #10149 from Drowze/bundler-gemcomment-frozen
Refactor code that can use `same_line?`.
Update `InternalAffairs/LocationLineEqualityComparison` to handle `node.loc.first_line`, `node.first_line` and `node.source_range.line`.
Merge pull request #10168 from dvandersluis/issue/10165
[Fix #10165] Fix `Layout/DotPosition` false positives when the selector and receiver are on the same line.
Update `Util#same_line?` to be able to compare ranges.
Merge pull request #10164 from dvandersluis/fix/changelog-spec
Removed stray `puts` from changelog.rb.
Merge pull request #10159 from koic/add_internal_affairs_location_line_equality_comparison_cop
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