Closed depfu[bot] closed 2 years ago
Merging #284 (de15fff) into main (111cb7c) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## main #284 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 5 5
Lines 33 33
=========================================
Hits 33 33
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 111cb7c...de15fff. Read the comment docs.
Closed in favor of #286.
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.30.1 → ~> 1.31.0) · Repo · Changelog
Release Notes
1.31.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 56 commits:
Cut 1.31
Update Changelog
Add new `Lint/NonAtomicFileOperation` cop
Merge pull request #10749 from gsamokovarov/numblock-delimiters
Fix Style/BlockDelimiters for blocks with numbered arguments
Pass range as a positional arg to RangeHelp#range_with_surrounding_space
[#9760] Allow positional range arg in range_with_surrounding_space
Merge pull request #10747 from dvandersluis/doc/style/empty-method
Add note to `Style/EmptyMethod` documentation about autocorrection re: `Layout/LineLength`.
[Fix #10734] Handle `ClobberingError` in `Style/NestedTernaryOperator` when there are multiple nested ternaries.
Make `Style/GuardClause` a bit more lenient when the replacement would make the code more verbose.
[Fix #10700] Update `Style/EmptyMethod` to not correct if the correction would exceed the configuration for `Layout/LineLength`.
Split a custom rake task into `rubocop:autocorrect` and `rubocop:autocorrect_all`
[Fix #7900] Fix `Style/FormatStringToken` false positive with formatted input and `template` style enforced, and add autocorrection
Merge pull request #10738 from dvandersluis/issue/10737
Merge pull request #10741 from BrianHawley/fix_require_mfa_spacing
[Docs] Fix Gemspec/RequireMFA example code spacing
Reduce unused `require_relative` for formatters
[Fix #10737] Fix crash in `Style/ConditionalAssignment` with `EnforcedStyle: assign_inside_condition` when op-assigning a variable inside a `resbody`.
Merge pull request #10736 from gsamokovarov/space-inside-numblock
Fix Layout/SpaceInsideBlockBraces for blocks with numbered arguments
Merge pull request #10730 from r7kamura/feature/improve-github-formatter-timing
Change output timing of GitHubActionsFormatter
Support auto-restart RuboCop server
Fix Layout/LineContinuationLeadingSpace offenses
Add new `Layout/LineContinuationLeadingSpace` cop
[Fix #10689] Fix autocorrect for `Layout/FirstHashElementIndentation` and `Layout/FirstArrayElementIndentation`
[Fix rubocop#10245] Add deprecated attributes
[Fix rubocop#10245] Remove Gemspec/DateAssignment
[Fix #10698] Enhance Style/HashExcept to support array inclusion checks
Add new global `ActiveSupportExtensionsEnabled` option
Add new `Lint/ConstantOverwrittenInRescue` cop
Fix Layout/LineContinuationSpacing offenses
Add new `Layout/LineContinuationSpacing` cop
Fix an error for `rake slow_cops`
Merge pull request #10720 from koic/fix_a_false_positive_for_lint_parentheses_as_grouped_expression
[Fix #10719] Fix a false positive for `Lint/ParenthesesAsGroupedExpression`
[Docs] Mention Ruby LSP servers that are using RuboCop
[Docs] Tweak some markup
Tweak exception message for RuboCop server
Merge pull request #10714 from ydah/add_inclusive_language_for_autocorrect
Add a setting for "autocorrect" in `Naming/InclusiveLanguage`
Merge pull request #10713 from koic/fix_an_error_for_style_multiline_ternary_operator
[Fix #10711] Fix an error for `Style/MultilineTernaryOperator`
Tweak help command message for `--server` option
[Docs] Tweak a bit the server docs
Rename custom rake task to `rubocop:autocorrect`
[Docs] Improve the documentation about the server mode
Integrate rubocop-daemon
Import rubocop-daemon
Fix displaying version information for known extensions
Merge pull request #10694 from ydah/add_ignore_case_for_empty_lines_around_attribute_accessor
[Fix #10693] Add ignore case for `Style/EmptyLinesAroundAttributeAccessor` when there is a comment line on the next line.
Restore `Lint/UselessElseWithoutRescue` cop
[Docs] Tweak some compatibility wording
Switch back the docs version
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