Upgrade rubocop to version 0.73.0
Created by: depfu[bot]
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.72.0 → ~> 0.73.0) · Repo · Changelog
Release Notes
0.73.0
New features
- Add
AllowDoxygenCommentStyle
configuration onLayout/LeadingCommentSpace
. (@anthony-robin)- #7114: Add
MultilineWhenThen
cop. (@okuramasafumi)- #4127: Add
--disable-uncorrectable
flag to generaterubocop:disable
comments. (@vergenzt, @jonas054)Bug fixes
- #7170: Fix a false positive for
Layout/RescueEnsureAlignment
when def line is preceded withprivate_class_method
. (@tatsuyafw)- #7186: Fix a false positive for
Style/MixinUsage
when using inside multiline block andif
condition is afterinclude
. (@koic)- #7099: Fix an error of
Layout/RescueEnsureAlignment
on assigned blocks. (@tatsuyafw)- #5088: Fix an error of
Layout/MultilineMethodCallIndentation
on method chains inside an argument. (@buehmann)- #4719: Make
Layout/Tab
detect tabs between string literals. (@buehmann)- #7203: Fix an infinite loop error for
Layout/SpaceInsideBlockBraces
whenEnforcedStyle: no_space
withSpaceBeforeBlockParameters: false
are set in multiline block. (@koic)- #6653: Fix a bug where
Layout/IndentHeredoc
would remove empty lines when autocorrecting heredocs. (@buehmann)Changes
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 37 commits:
Cut 0.73
Update changelog
Add check for --auto-correct with --disable-uncorrectable
Add Style/DoubleCopDisableDirective cop
Change logic for when to use EOL disable comment
Improve cli_disable_uncorrectable_spec.rb
Fix RuboCop offenses after rebase
WIP: Add autocorrect option to disable uncorrectable offenses
Remove an unnecessary line break for PULL_REQUEST_TEMPLATE.md
[Fix #6653] IndentHeredoc: Do not run into next line
Fix an infinite loop error for `Layout/SpaceInsideBlockBraces`
Merge pull request #7202 from buehmann/tab/4719
[Fix #4719] Detect tabs between string literals
[Fix #5088] Fix bug in argument_in_method_call
Merge pull request #7200 from buehmann/spec/__RUBY__
Revert __RUBY__ to __END__ token in specs
Merge pull request #7196 from flanger001/docs/caching
Merge pull request #7191 from tatsuyafw/fix-error-in-rescue-ensure-alignment
Make list render correctly on caching page
[Fix #7099] Fix an error in `Layout/RescueEnsureAlignment` cop
[Fix #7186] Fix a false positive for `Style/MixinUsage`
Fix a typo
Add `MultilineWhenThen` cop
Include inspected file location in auto-correction error
Bump RuboCop Performance to 1.4.0
Merge pull request #7182 from tatsuyafw/fix-layout-rescue-ensure-alignment
[Fix #7170] Fix a false positive in `Layout/RescueEnsureAlignment` cop
Merge pull request #7185 from anthony-robin/add_configurable_option_for_doxygen_style
Add configurable option for Doxygen style to `Layout/LeadingCommentSpace`
Merge pull request #7181 from pocke/sort-files
Sort analyzed file alphabetically
Merge pull request #7183 from anthony-robin/enhance_leading_comment_space
Allow `#**` Doxygen comment style on `Layout/LeadingCommentSpace`
Use squiggly heredoc instead of `String#strip_indent`
Use squiggly heredoc for node patterns and eval
Merge pull request #7176 from buehmann/fix/changelog
Remove wrong #7113 entry from changelog
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 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)