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.48.1 → 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.49
Update Changelog
Merge pull request #11728 from ktopolski/add_new_data_inheritance_cop
Merge pull request #11750 from koic/make_metrics_block_nesting_aware_of_numbered_parameter
[Fix #11696] Add new `Style/DataInheritance` cop
Make `Metrics/BlockNesting` aware of numbered parameter
Merge 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` cop
Make `Layout/EndAlignment` aware of pattern matching
Fix a typo
Merge pull request #11742 from composerinteralia/bundler-standalone-error-reporting
Fix error when trying to display error message
Merge pull request #11739 from koic/make_style_redundant_parentheses_aware_of_method_arg_parentheses
Merge pull request #11740 from ydah/fix-false-positive-lint-nested-method-definition
Merge pull request #11741 from schmijos/add-hash-syntax-example
Add good example for Style/HashSyntax EnforcedShorthandSyntax
Remove obsoleted mock test
Fix a false positive for `Lint/NestedMethodDefinition` when nested definition inside `*_eval` and `*_exec` method call with a numblock
Make `Style/RedundantParentheses` aware of redundant method arg parentheses
Merge pull request #11737 from koic/make_style_map_to_hash_and_map_to_set_aware_of_numblock
Make `Style/MapToHash` and `Style/MapToSet` aware of numblock
Merge pull request #11731 from koic/fix_an_error_for_layout_hash_alignment
Merge pull request #11736 from ydah/remove-redundant-require
Remove 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` option
Use `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 directory
Refresh the documentation of `EnforcedStyle: omit_parentheses`
Fix value omission false positive in Style/MethodCallWithArgsParentheses
Add examples for `Lint/ToEnumArguments`
Remove unnecessary paths for .github/workflows/linting.yml
Add options to the actions-codespell configuration to check hidden files and file name
Improve the configuration options of the yamllint-github-action
Use RuboCop instead of Rubocop
[Doc] Fix broken list item rendering
Make `InternalAffairs/RedundantSourceRange` aware of correction methods
Fix a crash in `Lint/EmptyConditionalBody`
Correct types in CHANGELOG/relnotes with cSpell
Use 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 spaces
Correct typos with cSpell
Only run Yamllint CI if required
Merge 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` cop
Merge pull request #11702 from fatkodima/optimizations
Use regexp argument instead of redundant equality comparison block
More rubocop optimizations
Merge pull request #11695 from fatkodima/print-profile-locations
Fix a pull request number of changelog
Print locations of generated profile files when profiling rubocop
Switch back the docs version
Fix a typo in comment
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