#11953: Fix a false negative for Lint/DuplicateHashKey when there is a duplicated constant key in the hash literal. (@koic)
#11945: Fix a false negative for Style/RedundantSelfAssignmentBranch when using method chaining or arguments in ternary branch. (@koic)
#11949: Fix a false positive for Layout/RedundantLineBreak when using a line broken string. (@koic)
#11931: Fix a false positive for Lint/RedundantRequireStatement when using PP.pp. (@koic)
#11946: Fix an error for Lint/NumberConversion when using multiple number conversion methods. (@koic)
#11972: Fix an error for Lint/Void when CheckForMethodsWithNoSideEffects: true and using a method definition. (@koic)
#11958: Fix error for Style/IdenticalConditionalBranches when using empty parentheses in the if branch. (@koic)
#11962: Fix an error for Style/RedundantStringEscape when an escaped double quote precedes interpolation in a symbol literal. (@koic)
#11947: Fix an error for Style/ConditionalAssignment with an assignment that uses if branch bodies, which include a block. (@koic)
#11959: Fix false negatives for Layout/EmptyLinesAroundExceptionHandlingKeywords when using Ruby 2.5's rescue inside block and Ruby 2.7's numbered block. (@koic)
#10902: Fix an error for Style/RedundantRegexpEscape string with invalid byte sequence in UTF-8. (@ydah)
#11562: Fixed escaped octal handling and detection in Lint/DuplicateRegexpCharacterClassElement. (@rwstauner)
Changes
#11904: Mark Layout/ClassStructure as unsafe to autocorrect. (@nevans)
#8506: Add AllowedParentClasses config to Lint/MissingSuper. (@iMacTia)
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 cancel merge
Cancels automatic merging of this PR
@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.53) · Repo · Changelog
Release Notes
1.53.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 33 commits:
Cut 1.53
Update Changelog
[Fix #11972] Fix an error for `Lint/Void`
Fix a false positive for `Lint/RedundantRequireStatement`
Revert "Change include paths to be relative to working directory rather than derived dir"
Add new `Style/ReturnNilInPredicateMethodDefinition` cop
Remove a useless style guide URL
Mark Layout/ClassStructure as unsafe to autocorrect
Merge pull request #11940 from iMacTia/fix/lint-missing-super-configurable-stateless-classes
[Fix #8506] Add AllowedParentClasses config to Lint/MissingSuper.
Merge pull request #11562 from rwstauner/rwstauner/duplicate-regexp-char-octals
Prevent false positives for `Style/RedundantRegexpArgument`
Add new `Style/RedundantRegexpArgument` cop
Add new `Style/YAMLFileRead` cop
Add new `Lint/RedundantRegexpQuantifiers` cop
[Fix #11962] Fix an error for `Style/RedundantStringEscape`
Add new MixedCaseRange cop (#11561)
[Fix #11924] Add new `Style/RedundantCurrentDirectoryInPath` cop
[Fix #11953] Fix a false negative for `Lint/DuplicateHashKey`
Fix false negatives for `Layout/EmptyLinesAroundExceptionHandlingKeywords`
Merge pull request #11958 from koic/fix_an_error_for_style_identical_conditional_branches
Fix an error for `Style/IdenticalConditionalBranches`
Merge pull request #11951 from koic/fix_a_false_negative_for_style_redundant_self_assignment_branch
Merge pull request #11950 from koic/fix_a_false_positive_for_layout_redundant_line_break
Merge pull request #11948 from koic/fix_error_for_style_conditional_assignment
[Fix #11945] Fix a false negative for `Style/RedundantSelfAssignmentBranch`
[Fix #11949] Fix a false positive for `Layout/RedundantLineBreak`
[Fix #11947] Fix an error for `Style/ConditionalAssignment`
Fix an error for `Lint/NumberConversion`
Support built-in LSP server
Import LSP server from Standard
[Fix #10902] Fix an error for `Style/RedundantRegexpEscape` string with invalid byte sequence in UTF-8
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