This repository was archived by the owner on Jun 13, 2023. It is now read-only.
[ruby] Upgrade rubocop to version 1.42.0#323
Closed
depfu[bot] wants to merge 1 commit into
Closed
Conversation
Codecov ReportBase: 100.00% // Head: 87.87% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #323 +/- ##
============================================
- Coverage 100.00% 87.87% -12.13%
============================================
Files 5 5
Lines 33 33
============================================
- Hits 33 29 -4
- Misses 0 4 +4
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Contributor
Author
|
Closed in favor of #324. |
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.42.0) · Repo · Changelog
Release Notes
1.42.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 51 commits:
Cut 1.42Update ChangelogMerge pull request #11372 from koic/ci_against_ruby_3_2_on_windowsCI against Ruby 3.2 on WindowsFix an error for `Lint/UselessRuby2Keywords`Fix `Style/WordArray` for subarraysBump license years to 2023Improve offense message for `Style/YodaExpression` cop[Doc] Update the doc for `Style/MinMaxComparison`Add examples for 2d arrays to `Style/WordArray` copUpdate `rubocop-ast` to include performance improvementsAccept bracketed arrays within 2d arrays containing subarrays with complex content for `Style/WordArray` copAdd new `Style/YodaExpression` copSupport pattern matching for `Lint/OutOfRangeRegexpRef` cop[Fix #11322] Fix message for Lint/UnusedMethodArgumentAdd new `Style/MinMaxComparison` copFix an incorrect autocorrect for `Lint/RegexpAsCondition`Better ignoring of files in example code[Fix #11361] Make `Style/MethodDefParentheses` aware of anonymous rest and keyword rest argsCircleCI against Ruby 3.2[Fix 11357] Tweak the doc for `Security/CompoundHash`Merge pull request #11348 from koic/fix_error_for_style_select_by_regexpMerge pull request #11347 from koic/fix_false_positive_style_redundant_string_escapeMerge pull request #11332 from fatkodima/class_structure-private-constantsImprove doc of EnforcedShorthandSyntax: consistentFix an error for `Style/SelectByRegexp`Merge pull request #11343 from soroktree/fix/comment-indentation-11237[Fix #11237] Fix `Layout/CommentIndentation` comment aligned with access modifier indentation when EnforcedStyle is outdent[Fix #11346] Fix a false positive for `Style/RedundantStringEscape`Add new `Style/MapToSet` copAllow inherit_from to accept a glob (#11261)Fix an error for `Style/GuardClause`Ignore private constants in `Layout/ClassStructure` copMerge pull request #11336 from fatkodima/identical_conditional_branches-last-childFix `Style/IdenticalConditionalBranches` to ignore identical leading lines when branch has single child and is used in return contextFix an error for `Style/RequireOrder`Merge pull request #11331 from fatkodima/space_around_keyword-super-rangesAccept `super` within ranges for `Layout/SpaceAroundKeyword` copMerge pull request #11328 from fatkodima/concat_array_literals-autocorrectionSupport autocorrection for percent literals in `Style/ConcatArrayLiterals`Revert "CI against Ruby 3.2 on Windows"CI against Ruby 3.2 on WindowsFix new offenses for `Layout/ClassStructure` copAccept simple freezed constants in `Layout/ClassStructure` and correctly handle class methodsFix an error for `Style/RequireOrder` when using `require` inside `rescue` bodySuppress `Performance/RedundantStringChars` offenseMake `Style/ZeroLengthPredicate` aware of `array.length.zero?`More rubocop optimizations[Fix #11204] Fix a false negative for `Lint/RedundantCopDisableDirective`[Fix #11320] Fix a false positive for `Lint/RequireParentheses`Switch back the docs versionDepfu 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