This repository was archived by the owner on Jun 13, 2023. It is now read-only.
[ruby] Upgrade rubocop to version 0.80.0#106
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #106 +/- ##
=========================================
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.79.0 → ~> 0.80.0) · Repo · Changelog
Release Notes
0.80.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 67 commits:
Cut 0.80[Fix #7712] Fix an incorrect autocorrect for `Style/OrAssignment`Enable `Migration/DepartmentName` cop by defaultMerge pull request #7721 from jonas054/7708_rubocopdisable_comment_in_comment[Fix #7708] Support EOL disable comments on comment linesMerge pull request #7718 from koic/fix_an_infinite_loop_error_for_redundant_parentheses[Fix #7716] Fix an infinite loop error for `Style/TernaryParentheses`Merge pull request #7715 from ybiquitous/add-steepfileAdd `Steepfile` to default `Include` listFix a build errorImprove documentation for Lint/UselessSetterCallAdd Changelog entry for new NodePattern operator ` [#7693]referencd -> referencedRemove duplicate dependency development gemTweak a couple of changelog entriesNodePattern: Add ` for descendant search [#7693][Fix #7688] Support MethodCallWithArgsParentheses.new without config[Fix #7644] NodePattern: Fix unification within unions[Fix #7686] Add new `JUnitFormatter`Fix documentation [doc]Add RequiredBracesMethods param to BlockDelimitersMerge pull request #7696 from revolter/patch-1Fix incorrect formattingAdd Hash#each_value and Hash#each_key cop (#7677)Merge pull request #7692 from marcandre/parent_docNodePattern: document ^ [doc]Improve wording in README (#7690)Show pending status in cop status of manualFix the changelogAdd `AllowGemfileRubyComment` option to `Layout/LeadingCommentSpace` (#7577)Add line length autocorrect for blocksAdd cops to enforce use of `transform_keys` and `transform_values` (#7663)[Fix #7619] Support autocorrect of legacy names for `Migration/DepartmentName`Update Copyright year to 2020Merge pull request #7652 from masarakki/allow-paremeter-pp[Fix #7675] Fix a false negative for `Layout/SpaceBeforeFirstArg`allow-parameter-ppMerge pull request #7681 from picandocodigo/masterUpdates docs to be more explicit about how to use formattersMerge pull request #7676 from drewcimino/docs-update-targetruby-preferenceUpdate docs to reflect current precedence in TargetRubyMerge pull request #7679 from koic/workaround_for_cc_test_reporter_with_simplecovWorkaround for cc-test-reporter with SimpleCov 0.18Add examples of `AllowForAlignment` option for `Layout/SpaceAroundOperators`Merge pull request #7665 from hanachin/fix_7647[Fix #7647] Fix an `undefined method on_numblock` error[Fix #7655] Fix an error when processing a line break regexpAccept pending cops in the development buildMerge pull request #7661 from Tietew/ast_regexp_multiline_fix[Fix rubocop-hq/rubocop-performance#95] Fix to return correct info from multi-line regexpMerge pull request #7657 from rrosenblum/empty_line_between_defs_contextAdd the method name to the highlight area of Layout/EmptyLineBetweenDefs[Fix #7641] Remove Style/BracesAroundHashParameters copFix a typoConvert layout tests to use expect_correctionConvert lint tests to use expect_correctionMerge pull request #7648 from koic/workaround_for_ruby_2_8_with_crackWorkaround for a build error when using Ruby 2.8.0-dev with crackUse Ruby 2.7 parser for `rake documentation_syntax_check`Refactor new tests to use expect_correctionAlign error messages about frozen string literal[Fix #7426] Add `always_true` to Style/FrozenStringLiteralCommentDefer tests where frozen string by defaultMerge pull request #7639 from gsamokovarov/omit-parentheses-rhs-of-operatorsFix an edge case in `omit_parentheses` style of `Style/MethodCallWithArgsParentheses`Merge pull request #7636 from gsamokovarov/console-ambiguityRemove `console` from `Lint/Debugger`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