This repository has been archived by the owner on Nov 22, 2020. It is now read-only.
[ruby] Update rubocop: 0.83.0 → 0.84.0 (major) #90
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 update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rubocop (0.83.0 → 0.84.0) · Repo · Changelog
Release Notes
0.84.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 50 commits:
Fix the release notes
Cut 0.84
Add doc for disabling comment style
[Fix #7993] Fix a false positive for `Migration/DepartmentName`
Add a .dir-locals.el
Remove unneeded let for specs using :config shared environment
Refactor `config` shared context. Simplify some specs.
Spec: remove trailing whitespace
Lint/SuppressedException: Explicit AllowComments config in spec
Lint/EmptyWhen Add explicit config that is differing from default [#7999]
Add rake check_commit and check_commit:auto_correct
Allow args in SpecRunner task
[Fix #7991] Fix an error for `Layout/EmptyLinesAroundAttributeAccessor`
[Fix #7886] Look for comments between rescue and end
[Docs] Improve a bit the structure of the cop development docs
[Docs] Improve the automated code reviews section
[Docs] Replace mentions of Salt with GitHub Sponsors
[Docs] Extend the explanation of --safe-auto-correct
Fix a typo
Tweak a changelog entry
Fix option names in the changelog
Fix the broken docs build
Add `EnforcedStyle` for `Style/DoubleNegation` cop
[Fix #7976] Add ignore options for `Layout/EmptyLinesAroundAttributeAccessor`
[Docs] Improve some wording in the "Development" section of the docs
[Docs] Update some references to reflect the extraction of rubocop-ast
Update `VersionChanged` from 1.0 to 0.84
Fix typoes
Remove unneeded conditionals with latest rubocop-ast
[Fix rubocop-hq/rubocop-ast#7] Reimport error from rubocop-ast
[Fix rubocop-hq/rubocop-ast#7] Create aliases for AST::NodePattern, ProcessedSource and Token
[Fix rubocop-hq/rubocop-ast#7] Import ProcessedSource#comment_config and related method from rubocop-ast
[Fix #7972] Fix an incorrect autocorrect for `Style/HashSyntax` (#7973)
Add new `Lint/DeprecatedOpenSSLConstant` cop
Support any expression as the start index in Style/SlicingWithRange (#7967)
Improve FrozenStringLiteralComment autocorrection.
Merge pull request #7964 from marcandre/fix_disable
Fix calculation in disable_offense.
[Fix #7962] Fix a false positive for `Lint/ParenthesesAsGroupedExpression`
Have `rubocop -V` output rubocop-ast's version
Bump required rubocop-ast
Update links to rubocop-ast [doc] [ci skip]
Amend Changelog for [#7735] [doc] [ci skip]
Change enforced style to `conditionals` for `Style/AndOr`
Require rubocop-ast gem
Simplify spec further
Tweak spec to define method only once
Simplify specs
[Fix #7953] Fix an error for `Lint/AmbiguousOperator`
Change the max line length of `Layout/LineLength` to 120
🆕 rubocop-ast (added, 0.0.3)
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