chore(deps): update dependency rubocop to v1.84.1#28
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency rubocop to v1.84.1#28renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
f81383d to
fa9bde6
Compare
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.
This PR contains the following updates:
1.82.1→1.84.1Release Notes
rubocop/rubocop (rubocop)
v1.84.1Compare Source
Bug fixes
Layout/IndentationWidthcop. ([@viralpraxis][])Style/NegativeArrayIndexwhen usingselfas array with implicitselfreceiver. ([@koic][])Style/GuardClausewhen using heredoc as an argument of method call in raise inelsebranch. ([@koic][])Style/IfUnlessModifierwhen multipleif/unlessstatements share the same line in arrays, method arguments, or hash values. ([@ydakuka][])Layout/FirstArgumentIndentationandLayout/LineLengthwhen correcting method chains. ([@ydakuka][])Layout/MultilineMethodCallIndentationto properly handle method chains inside hash pair values. ([@ydakuka][])Changes
infinite?method to the allowlists forNaming/PredicateMethod,Style/IfWithBooleanLiteralBranches, andStyle/RedundantCondition, in addition to the existingnonzero?. ([@koic][])v1.84.0Compare Source
New features
AllowImplicitArrayLiteralstoLayout/FirstArrayElementLineBreak. ([@koic][])Style/ReverseFindcop. ([@koic][])Style/EmptyClassDefinitioncop to enforce consistent style for empty class definitions. The cop can enforce either a two-line class definition orClass.newfor classes with no body. ([@ydakuka][])Style/HashLookupMethodcop to enforceHash#[]vsHash#fetchpreference. ([@sferik][])Style/NegativeArrayIndexcop to enforce using negative array indices instead of calculating array length minus a value. The cop handles both simple index patterns and range patterns, and recognizes preserving methods and their combinations. ([@ydakuka][])TargetRubyVersion 4.1(experimental). ([@koic][])Bug fixes
CategoriesforLayout/ClassStructure. ([@fatkodima][])Style/GuardClausewhen using heredoc as an argument of raise inelsebranch andifbranch is empty. ([@koic][])Style/HashLookupMethodcop when there's no receiver. ([@viralpraxis][])ruby_extractorwhen usingoffset: 0and different source buffers. ([@ydakuka][])Style/RedundantConditionwhen the branches contains constant assignment. ([@koic][])--force-default-confignot preventing project config loading when used with options that access configuration. ([@sakuro][])Style/HashSyntaxwhen shorthand syntax is used in condition ofif/unless/while/until. ([@ydakuka][])Layout/IndentationWidthby adding a newEnforcedStyleAlignWithstyle parameter. ([@MikeMcQuaid][])Layout/LineLengthwhenSplitStringsoption is enabled and strings span multiple lines. ([@HariprasanthMSH][])Layout/IndentationWidthandLayout/IndentationConsistencywhen usingEnforcedStyle: indented_internal_methodswith method chain blocks. ([@ydakuka][])Layout/IndentationWidthwhen autocorrecting mixed tabs and spaces in blocks. Fix an infinite loop error forLayout/DefEndAlignmentandLayout/IndentationStylewhen autocorrecting mixed tabs and spaces. Autocorrection for tabs is disabled inAlignmentCorrectorfor indentation offenses, but enabled foralign_end. ([@ydakuka][])Layout/FirstArgumentIndentationto correct entire method calls and chains for nested calls. ([@ydakuka][])Offense#highlighted_areato return a validParser::Source::Range. ([@ydakuka][])Security/JSONLoadwhencreate_additionsoption is passed with other options in a hash. ([@wktk][])Changes
squishandsquish!applied to heredoc toLayout/HeredocIndentation. ([@lovro-bikic][])Forwardablemethods inLint/DuplicateMethods. ([@lovro-bikic][])Lint/RedundantSplatExpansionaware of constant assignment. ([@koic][])Style/AccessModifierDeclarationsaware of self class. ([@koic][])Modulemember existence methods toStyle/ModuleMemberExistenceCheck. ([@lovro-bikic][])AllowedMethodsconfiguration toStyle/ModuleMemberExistenceCheck. ([@lovro-bikic][])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.