#11615: Fix a false negative for Lint/MissingSuper when no super call with Class.new block. (@koic)
#11615: Fix a false negative for Lint/MissingSuper when using Class.new without parent class argument. (@koic)
#11040: Fix a false positive for Style/IfUnlessModifier when defined?'s argument value is undefined. (@koic)
#11607: Fix a false positive for Style/RedundantRegexpEscape when an escaped hyphen follows after an escaped opening square bracket within a character class. (@SparLaimor)
#11626: Fix a false positive for Style/ZeroLengthPredicate when using File.new(path).size.zero?. (@koic)
#11620: Fix an error for Lint/ConstantResolution when using __ENCODING__. (@koic)
#11625: Fix an error for Lint/EmptyConditionalBody when missing if body and using method call for return value. (@koic)
#11631: Fix an incorrect autocorrect for Style/ArgumentsForwarding when using arguments forwarding for .() call. (@koic)
#11621: Fix an incorrect autocorrect for Layout/ClassStructure using heredoc inside method. (@fatkodima)
#3591: Handle modifier while and until expressions in Lint/UselessAssignment. (@bfad)
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.60 → ~> 1.47) · Repo · Changelog
Release Notes
1.47.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 25 commits:
Cut 1.47
Update Changelog
Add new `InternalAffairs/RedundantSourceRange` cop
[Fix #11202] Fix `--only` flag usage with `--auto-gen-config` and `Layout/LineLength`
[Fix #11040] Fix a false positive for `Style/IfUnlessModifier`
Sider Review has been terminated
[Fix #11634] Tweak autocorrection for `Style/ConcatArrayLiterals`
[#11076] Add autocorrect for hash in `Lint/LiteralInInterpolation` (#11475)
[Fix #11631] Fix an incorrect autocorrect for `Style/ArgumentsForwarding`
Add new `InternalAffairs/LocationExpression` cop
[Fix #3591] Handle modifier looping conditionals in Variable#reference!
[Fix #11626] Fix a false positive for `Style/ZeroLengthPredicate`
Fix an incorrect autocorrect for `Layout/ClassStructure` using heredoc inside method
Add `Metrics/CollectionLiteralLength` cop (#11584)
Fix an error for `Lint/EmptyConditionalBody`
Merge pull request #11623 from ydah/add-rubocop-capybara-to-suggested-extensions
[Fix #11615] Fix a false positive for `Lint/MissingSuper`
[Fix #11615] Fix a false negative for `Lint/MissingSuper`
Add rubocop-capybara to suggested extensions and extension doc
Merge pull request #11622 from SparLaimor/fix-redundant-regexp-escape
[Fix #11607] Fix a false positive for Style/RedundantRegexpEscape
Merge pull request #11620 from koic/fix_an_error_for_lint_constant_resolution
Fix an error for `Lint/ConstantResolution`
Add examples for `Style/AccessorGrouping`
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