This repository was archived by the owner on Jun 13, 2023. It is now read-only.
[ruby] Upgrade rubocop to version 0.86.0#128
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #128 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 5 5
Lines 34 34
=========================================
Hits 34 34 Continue to review full report at Codecov.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.0 → ~> 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.86Normalize 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 linksFix link to documentation about configuration in .rubocop.ymlMerge pull request #8169 from koic/support_autocorrect_for_raise_exceptionSupport autocorrection for `Lint/RaiseException`Mark unsafe for `Lint/RaiseException` copMerge pull request #8170 from koic/support_autocorrect_for_regexp_as_conditionSupport 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_emptyRefine offense range for `Lint/SafeNavigationWithEmpty`Merge pull request #8168 from koic/refine_offense_range_for_raise_exceptionTypo fix [doc] [ci skip]Refine offense range for `Lint/RaiseException`Refactor abc_size_calculator_spec.rbExclude AbcSize from formatter specRefactor html_formatter_specFix Changelog [doc]Fix Metrics/CyclomaticComplexity for ||=, &&=, &. and iterating blocksRefactor EmptyCaseCondition#on_caseThese defaults may changeAdd rubocop-packaging as a known extension in the docs[Docs] Tweak some wordingReplace compatibility description with compatibility doc linkAdd a doc for compatibilityUpdate obsolete rubiesMerge pull request #8152 from koic/support_autocorrect_for_nested_ternary_operatorRemove InchCI badgeUpdate the CodeClimate badgesSupport autocorrection for `Style/NestedTernaryOperator`Support autocorrection for `Style/MultilineTernaryOperator`Extract static array into constant in RedundantSelf copFix a false positive for `Layout/EmptyLinesAroundAttributeAccessor`Use `match?` instead of `=~`Tweak the changelogUse UTC in Rubocop todo file generationRefactor specs for `Style/RedundantReturn` copFix 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 listingMerge pull request #8119 from andrykonchin/reproduce-the-issue-with-format-parameter-mismatch-copAdd Ruby EOL support policy to READMEMerge 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 argumentAdd @marcandre to the "Team" section of the READMEMerge pull request #8113 from eugeneius/format_offense_whitespaceDisable broken testsLet format_offense add variable-width whitespaceAdd auto-correct for `Style/StructInheritance`Limit rubocop-ast to pre 1.0[Docs] Remove the final vestiges of the legacy docsSwitch back docs version to masterDepfu 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