Closed
Conversation
Author
|
Closed in favor of #27. |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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 (~> 0.76 → ~> 1.8) · Repo · Changelog
Release Notes
1.8.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 38 commits:
Cut 1.8Update ChangelogImprove handling of comments in ClassMethodsDefinition autocorrection[Fix #9233] Improve handling of comments in SoleNestedConditional autocorrectionUpdate `Style/SingleLineMethods` to correct to an endless method definition if they are allowed.[Fix #9337] Add `AllowedIdentifiers` to `Naming/VariableName`.Use IRB instead of Pry[Fix #9335] Fix an incorrect auto-correct for `NestedParenthesizedCalls`[Fix #9333] Fix an error for `Style/IfInsideElse`Add new `Lint/DeprecatedConstants` cop[Fix #9312] Fix `Layout/FirstHashElementLineBreak` for single line hashSupport asdf's .tool-versions fileSupport unicode-display_width v2Mark `Style/MutableConstant` as unsafeAdd new cop `Style/EndlessMethod`.Merge pull request #9318 from agargiulo/style/empty_literal_hash_fix[Fix #9316] Make `Style/EmptyLiteral` not register offense when using a numbered blockAdd project_spec test to ensure that `Safe: true` is not given in a config, since it is redundant.Add new `Lint/LambdaWithoutLiteralBlock` copBump license years to 2021Fix wrong example of MultilineOperationIndentation (#9287)[Fix #9296] Suppress error info when `Style/HashLikeCase`'s config is illegalMake `Lint/NonDeterministicRequireOrder` not to register offense for Ruby 3Add new `Lint/RedundantDirGlobSort` cop[Fix #9308] Fix an error for `Layout/EmptyLineBetweenDefs`[Fix #9314] Fix an incorrect auto-correct for `Style/RedundantReturn`Merge pull request #9306 from koic/fix_incorrect_autocorrect_for_raise_argsMerge pull request #9299 from koic/fix_incorrect_autocorrect_for_redundant_cop_disable_directive[Fix #9303] Fix an incorrect auto-correct for `Style/RaiseArgs`[Fix #9298] Fix an incorrect auto-correct for `Lint/RedundantCopDisableDirective`Merge pull request #9302 from koic/ci_against_ruby_30CI against Ruby 3.0[Fix #9290] Fix a false positive for `Layout/SpaceBeforeBrackets`Fix auto_correct docs link in basic_usage pageRequire Parser 3.0.0.0 or higherMerge pull request #9289 from koic/fix_a_build_errorFix a build errorSwitch 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