This repository was archived by the owner on Jun 13, 2023. It is now read-only.
[ruby] Upgrade rubocop to version 0.83.0#119
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #119 +/- ##
=========================================
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.82.0 → ~> 0.83.0) · Repo · Changelog
Release Notes
0.83.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 72 commits:
Cut 0.83Merge pull request #7951 from jethrodaniel/rakefileadd `rakefile` (lowercase) to default configTweak a changelog entryRemove dependency on `jaro_winkler`Use DidYouMeanChange find_similar_name to a module_functionSimplify NameSimilarity.find_similar_nameAdd new `Layout/EmptyLineAroundAttributeAccessor` copMark unsafe for `Style/OptionalArguments` copMerge pull request #7935 from koic/fix_false_positive_for_style_guard_clause[Fix #7928] Fix a false positive for `Style/GuardClause`Merge pull request #7934 from koic/support_autocorrect_for_lint_ensure_returnMerge pull request #7932 from koic/fix_false_message_for_guard_clauseSupport autocorrection for `Lint/EnsureReturn`[Fix #7928] Fix a false message for `Style/GuardClause`Merge pull request #7925 from koic/support_autocorrection_for_layout_condition_position]Support autocorrection for `Layout/ConditionPosition`Merge pull request #7910 from koic/support_autocorrect_for_parentheses_as_grouped_expressionSupport autocorrection for `Lint/ParenthesesAsGroupedExpression`Tweak the changelogMerge pull request #7907 from koic/add_allow_comments_to_lint_empty_when[Fix #3696] Add `AllowComments` option to `Lint/EmptyWhen` copImplement Style/SlicingWithRange copSupport autocorrection for `Style/IfWithSemicolon`[Fix #7936] Mark Lint/BooleanSymbol as unsafe (#7941)Add required Ruby version to generated cops manualMerge pull request #7897 from tejasbubane/generator-version-addedMerge pull request #7930 from jonas054/4245_arbitrary_files_on_command_lineMerge pull request #7913 from koic/false_positive_for_lint_literal_as_conditionFix a false positive for `Lint/LiteralAsCondition`Merge pull request #7909 from koic/fix_a_false_positive_for_parentheses_as_grouped_expressionUpdate Change log to link the breaking change[Fix 4245] Add --only-recognized-file-types and change defaultExtract common test code into shared examplesAdd mode parameter to TargetFinder#find()Merge pull request #7939 from jeffcarbs/fix-frozen-string-literal-comment[Fix #7929] Accept frozen_string_literal anywhere in leading comment linesFix a false positive for `Lint/ParenthesesAsGroupedExpression`Merge pull request #7926 from jonas054/7885_IfUnlessModifier_with_tab_indentation[Fix #7885] Re-use LineLengthHelp for statement modifiersMerge pull request #7923 from jonas054/7390_cop_enabled_overrides_department[Fix #7390] Override disabled department for enabled copsMerge pull request #7918 from koic/support_autocorrect_for_ambiguous_operatorSupport autocorrection for `Lint/AmbiguousOperator`Merge pull request #7920 from jonas054/595_erb_processing_of_configuration[Fix #595] Add ERB pre-processing for configuration filesAllow Generator to take version_added parameterMerge pull request #7917 from koic/support_autocorrect_for_useless_access_modifierSupport autocorrection for `Lint/UselessAccessModifier`Support autocorrection for `Lint/AmbiguousRegexpLiteral`Use https instead of http for semver.orgMerge pull request #7901 from koic/fix_an_infinite_loop_error_for_space_around_operators[Fix #7899] Fix an infinite loop error for `Layout/SpaceAroundOperators`Merge pull request #7903 from koic/fix_incorrect_autocorrect_for_hash_transform_methodsFix an incorrect autocorrect for hash transform methodsFix an error when running `--only` or `--except` optionsDisplay `N/A` for pending cop warnings without `VersionAdded` specifiedReplace AppVeyor with GitHub Actions (#7893)Add .simplecov to rubocop default include listMerge pull request #7896 from hugopeixoto/patch-1Fix semantic versioning link[Fix #7635] Fix a false positive for `Style/MultilineWhenThen`Merge pull request #7892 from krzysiek1507/patch-1Fix the command flags table[Fix #7094] Clarify alignment in MultilineOperationIndentation[Fix #7881] Call act_on_options earlier in CLI#run()Merge pull request #7888 from jonas054/7790_parallel_disabling_other_options[Fix #7790] Set options in ConfigLoader earlier[Fix #7860] Change `AllowInHeredoc` option of `Layout/TrailingWhitespace` to `true`Merge pull request #7882 from rafaelfranca/rm-fix-allow-constantFix `Style/CaseEquality` when `AllowOnConstant` is `true`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