This repository was archived by the owner on Jun 13, 2023. It is now read-only.
[ruby] Upgrade rubocop to version 1.49.0#344
Closed
depfu[bot] wants to merge 1 commit into
Closed
Conversation
Contributor
Author
|
Closed in favor of #346. |
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 (~> 1.40.0 → ~> 1.49.0) · Repo · Changelog
Release Notes
1.49.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 62 commits:
Cut 1.49Update ChangelogMerge pull request #11728 from ktopolski/add_new_data_inheritance_copMerge pull request #11750 from koic/make_metrics_block_nesting_aware_of_numbered_parameter[Fix #11696] Add new `Style/DataInheritance` copMake `Metrics/BlockNesting` aware of numbered parameterMerge pull request #11748 from nobuyo/cache-root-behavior[Fix #10766] Use the path given by `--cache-root` to be the parent for `rubocop_cache` dir like other ways to specify it[Fix #11122] Add new `Style/RedundantLineContinuation` copMake `Layout/EndAlignment` aware of pattern matchingFix a typoMerge pull request #11742 from composerinteralia/bundler-standalone-error-reportingFix error when trying to display error messageMerge pull request #11739 from koic/make_style_redundant_parentheses_aware_of_method_arg_parenthesesMerge pull request #11740 from ydah/fix-false-positive-lint-nested-method-definitionMerge pull request #11741 from schmijos/add-hash-syntax-exampleAdd good example for Style/HashSyntax EnforcedShorthandSyntaxRemove obsoleted mock testFix a false positive for `Lint/NestedMethodDefinition` when nested definition inside `*_eval` and `*_exec` method call with a numblockMake `Style/RedundantParentheses` aware of redundant method arg parenthesesMerge pull request #11737 from koic/make_style_map_to_hash_and_map_to_set_aware_of_numblockMake `Style/MapToHash` and `Style/MapToSet` aware of numblockMerge pull request #11731 from koic/fix_an_error_for_layout_hash_alignmentMerge pull request #11736 from ydah/remove-redundant-requireRemove redundant module mix-in for `Style/RedundantStringEscape`[Fix #11730] Fix an error for `Layout/HashAlignment`[Fix #11732] Make `Style/MapToHash` and `Style/MapToSet` aware of symbol proc[Fix #11697] Fix `Lint/Syntax` behavior when using `--only` optionUse `Cop::Base#parse` instead of `ProcessedSource.new`[Fix #11715] Ensure default configuration loads[Fix #11723] Fix a false positive for `Style/IfUnlessModifier`[Fix #11725] Fix an error when accessing cache directoryRefresh the documentation of `EnforcedStyle: omit_parentheses`Fix value omission false positive in Style/MethodCallWithArgsParenthesesAdd examples for `Lint/ToEnumArguments`Remove unnecessary paths for .github/workflows/linting.ymlAdd options to the actions-codespell configuration to check hidden files and file nameImprove the configuration options of the yamllint-github-actionUse RuboCop instead of Rubocop[Doc] Fix broken list item renderingMake `InternalAffairs/RedundantSourceRange` aware of correction methodsFix a crash in `Lint/EmptyConditionalBody`Correct types in CHANGELOG/relnotes with cSpellUse CodeSpell GitHub Action[Fix #11704] Fix a false positive for `Lint/UselessMethodDefinition`Support autocorrection for `Naming/InclusiveLanguage`[Fix #11699] Make `Style/ClassEqualityComparison` aware of `to_s` and `inspect`[Fix #11641] Fix a false negative for `Layout/ExtraSpacing` when there are many comments with extra spacesCorrect typos with cSpellOnly run Yamllint CI if requiredMerge pull request #11707 from nobuyo/fix-disable-uncorrectable-multiline[Fix #11706] Fix infinite loop when `--disable-uncorrectable` option and there is a multi-line percent array violates `Layout/LineLength`Merge pull request #11701 from nobuyo/disable-uncorrectable-and-percent-array[Fix #11685] Fix incorrect directive comment insertion when percent array violates `Layout/LineLength` copMerge pull request #11702 from fatkodima/optimizationsUse regexp argument instead of redundant equality comparison blockMore rubocop optimizationsMerge pull request #11695 from fatkodima/print-profile-locationsFix a pull request number of changelogPrint locations of generated profile files when profiling rubocopSwitch back the docs versionFix a typo in commentDepfu 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