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.85.1 → 0.86.0) · Repo · Changelog
Release Notes
0.86.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 69 commits:
Cut RuboCop 0.86
Normalize the spelling of auto-correct(ion) in the changelog
[Docs] Add a sidebar about gems that were extracted from RuboCop
[Fix #8185] Fix a false positive for `Style/YodaCondition`
Tweak some wording
[Fix #8182] Add Readme Badge section to README.md (#8184)
Add new `Style/RedundantFetchBlock` cop
[Fix #8179] Fix an infinite correction loop for `Layout/MultilineBlockLayout`
[Docs] Remove a couple of redundant link tags
[Docs] Fix a couple of broken links
Fix link to documentation about configuration in .rubocop.yml
Merge pull request #8169 from koic/support_autocorrect_for_raise_exception
Support autocorrection for `Lint/RaiseException`
Mark unsafe for `Lint/RaiseException` cop
Merge pull request #8170 from koic/support_autocorrect_for_regexp_as_condition
Support autocorrection for `Lint/RegexpAsCondition`
Typo fixes [doc] [ci skip]
[Fix #8173] Fix an error for `Style/NestedTernaryOperator`
Add Lint/ConstantResolution cop (#8142)
Merge pull request #8171 from koic/refine_offense_range_for_safe_navigation_with_empty
Refine offense range for `Lint/SafeNavigationWithEmpty`
Merge pull request #8168 from koic/refine_offense_range_for_raise_exception
Typo fix [doc] [ci skip]
Refine offense range for `Lint/RaiseException`
Refactor abc_size_calculator_spec.rb
Exclude AbcSize from formatter spec
Refactor html_formatter_spec
Fix Changelog [doc]
Fix Metrics/CyclomaticComplexity for ||=, &&=, &. and iterating blocks
Refactor EmptyCaseCondition#on_case
These defaults may change
Add rubocop-packaging as a known extension in the docs
[Docs] Tweak some wording
Replace compatibility description with compatibility doc link
Add a doc for compatibility
Update obsolete rubies
Merge pull request #8152 from koic/support_autocorrect_for_nested_ternary_operator
Remove InchCI badge
Update the CodeClimate badges
Support autocorrection for `Style/NestedTernaryOperator`
Support autocorrection for `Style/MultilineTernaryOperator`
Extract static array into constant in RedundantSelf cop
Fix a false positive for `Layout/EmptyLinesAroundAttributeAccessor`
Use `match?` instead of `=~`
Tweak the changelog
Use UTC in Rubocop todo file generation
Refactor specs for `Style/RedundantReturn` cop
Fix command flags formatting
[Docs] Tweak some markup
[Docs] Add missing page heading
[Fix #7979] SpellChecker may not be available (#8143)
[Fix #8098]: Fix false-positive in Style/RedundantRegexpCharacterClass
[Fix #8132] Fix handling of names like _ and i with Naming/MethodName and EnforcedStyle: camelCase (#8140)
[Fix #8131]: Ignore escapes of delimiters in Style/RedundantRegexpEscape (#8138)
[Fix #8124] Fix a false positive for `Lint/FormatParameterMismatch`
Add @bquorning to our team listing
Merge pull request #8119 from andrykonchin/reproduce-the-issue-with-format-parameter-mismatch-cop
Add Ruby EOL support policy to README
Merge pull request #8120 from tejasbubane/fix-8106
[Fix #8106] Add missing config documentation for `Layout/SpaceBeforeBlockBraces`
Fix #8115. Lint/FormatParameterMismatch. Fix bug with formatting in argument
Add @marcandre to the "Team" section of the README
Merge pull request #8113 from eugeneius/format_offense_whitespace
Disable broken tests
Let format_offense add variable-width whitespace
Add auto-correct for `Style/StructInheritance`
Limit rubocop-ast to pre 1.0
[Docs] Remove the final vestiges of the legacy docs
Switch back docs version to master
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