-
Notifications
You must be signed in to change notification settings - Fork 11
Update dependency rubocop to v1.81.1 #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/rubocop-1.x-lockfile
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
b5276df
to
f498b3b
Compare
f498b3b
to
c34581f
Compare
c34581f
to
a1feaa6
Compare
a1feaa6
to
6a74ff9
Compare
6a74ff9
to
86e7fea
Compare
86e7fea
to
4924f51
Compare
4924f51
to
c4bdb4d
Compare
c4bdb4d
to
58ff314
Compare
d8c3b81
to
5ae68d1
Compare
5ae68d1
to
a6c7259
Compare
a6c7259
to
8819843
Compare
8819843
to
1abc041
Compare
1abc041
to
6bc0806
Compare
6bc0806
to
f9fe9ef
Compare
f9fe9ef
to
899dbf6
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.
Note
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot]
.This notice will be removed on 2025-10-07.
This PR contains the following updates:
1.75.5
->1.81.1
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
rubocop/rubocop (rubocop)
v1.81.1
Compare Source
Bug fixes
Lint/DeprecatedOpenSSLConstant
whenCipher
appears twice. ([@koic][])Changes
Style/NumberedParameters
andStyle/ItBlockParameter
withEnforcedStyle: allow_single_line
when the block itself is on a single line. ([@earlopain][])v1.81.0
Compare Source
New features
Style/ArrayIntersectWithSingleElement
cop. ([@r7kamura][])EnforcedStyleForMultiline: diff_comma
inStyle/TrailingCommaInArguments
. ([@akouryy][])Bug fixes
Style/NilComparison
cop when using thevar.==(nil)
andvar.===(nil)
syntax. ([@viralpraxis][])Style/ExplicitBlockArgument
when there are two methods that share the same implementation. ([@earlopain][])Style/NumberedParameters
andStyle/ItBlockParameter
when using multiline method chain withEnforcedStyle: allow_single_line
. ([@koic][])Layout/MultilineOperationIndentation
when using indented code on LHS of equality operator in modifier method definition. ([@koic][])Layout/EmptyLineBetweenDefs
forAllowAdjacentOneLineDefs: false
andDefLikeMacros
that take no block. ([@earlopain][])EnforcedStyle: allowed_in_returns
and!!
appears across multiple lines in return position. ([@koic][])Style/RedundantParentheses
when parentheses are used around a one-linerescue
expression as a condition. ([@koic][])Style/RedundantRegexpEscape
when an escaped variable sigil follows#
(e.g.,/#\@​foo/
,/#\@​@​bar/
,/#\$baz/
). ([@koic][])Layout/RescueEnsureAlignment
with a block whose send node is split over multiple lines. ([@dvandersluis][])Style/RedundantFormat
when the format string has a variable width that isn't given as a literal value. ([@dvandersluis][])ParserEngine: parser_prism
is configured in a base config file. ([@sudoremo][])Lint/Void
when using a return value in assignment method definition. ([@koic][])Style/RedundantRegexpArgument
when using escaped single quote character. ([@koic][])Style/UnlessElse
when usingunless
withthen
. ([@koic][]).rubocop.yml
,.rubocop_todo.yml
) change. ([@earlopain][]).rubocop
config file. ([@earlopain][])Layout/LineLength
autocorrection from splitting a block if its receiver contains a heredoc. ([@dvandersluis][])Lint/ShadowedArgument
when assigning inside arescue
block. ([@earlopain][])Changes
positionEncoding
utf-8
andutf-32
. ([@tmtm][])v1.80.2
Compare Source
Bug fixes
Style/SafeNavigation
when using ternary expression with index access call with method chain. ([@koic][])Style/RedundantParentheses
with unary operators andyield
,super
, ordefined?
. ([@earlopain][])Style/RedundantParentheses
with method calls taking argument without parentheses likereturn (x y) if z
. ([@earlopain][])Style/StringConcatenation
when a double-quoted string contains escaped quotes and interpolation. ([@earlopain][])Style/StringConcatenation
when a single-quoted string contains interpolation like'#{foo}'
. ([@earlopain][])Changes
Naming/PredicateMethod
allow theinitialize
method. ([@koic][])v1.80.1
Compare Source
Bug fixes
--display-time
option is used on the CLI. ([@lovro-bikic][])Style/RedundantBegin
usingbegin
with multiple statements withoutrescue
orensure
. ([@koic][])Changes
Layout/EndAlignment
whenend
is not on a separate line. ([@lovro-bikic][])v1.80.0
Compare Source
Bug fixes
Style/BitwisePredicate
when using&
with LHS flags in conjunction with==
for comparisons. ([@koic][])Style/For
with save navigation in the collection. ([@earlopain][])Lint/DuplicateRegexpCharacterClassElement
is enabled. ([@earlopain][])Lint/UselessAssignment
when duplicate assignments appear in nestedif
branches inside a loop and the variable is used outsidewhile
loop. ([@koic][])Naming/MethodName
when an operator method is defined using a string. ([@koic][])Style/RedundantParentheses
whendo
...end
block is wrapped in parentheses as a method argument. ([@koic][])Style/SafeNavigation
. ([@issyl0][])Layout/EmptyLinesAfterModuleInclusion
wheninclude
does not have exactly one argument. ([@issyl0][])Style/SafeNavigation
cop to preserve existing safe navigation in fixed code. ([@martinemde][])Lint/UselessAssignment
withfor
loops when the variable is referenced in the collection. ([@earlopain][])Style/RedundantCondition
with a parenthesised method call in the condition. ([@earlopain][])Changes
Lint/SelfAssignment
to handle indexed assignment with multiple arguments. ([@viralpraxis][])AutoCorrect
andInclude
from configuration parameters. ([@r7kamura][])Style/RedundantBegin
aware ofcase
pattern matching. ([@koic][])Style/ArrayIntersect
. ([@lovro-bikic][])TextDocumentSyncKind.Incremental
. ([@tmtm][])Style/RedundantBegin
to registerbegin
blocks insideif
,unless
,case
,while
anduntil
as redundant. ([@dvandersluis][])v1.79.2
Compare Source
Bug fixes
Layout/EmptyLinesAroundClassBody
when a class body starts with a blank line and defines a multiline superclass. ([@koic][])Layout/EmptyLinesAroundArguments
with multiline strings that contain only whitespace. ([@earlopain][])Layout/EmptyLinesAfterModuleInclusion
when inclusion is called with modifier. ([@r7kamura][])Lint/UselessAssignment
when duplicate assignments appear inif
branch inside a loop and the variable is used outsidewhile
loop. ([@koic][])Style/MapToHash
when usingto_h
with block argument. ([@koic][])Style/MapToSet
when usingto_set
with block argument. ([@koic][])Style/SafeNavigation
when ternary expression with operator method call with method chain. ([@koic][])Changes
Style/RedundantParentheses
. ([@lovro-bikic][])v1.79.1
Compare Source
Bug fixes
Style/ArgumentsForwarding
when the method arguments contain*
,**
or&
, and the method call containsself
as the first argument. ([@earlopain][])Layout/EmptyLinesAfterModuleInclusion
whenprepend
is used with block methods. ([@koic][])Style/RedundantParentheses
when parentheses are used around a one-linerescue
expression inside a ternary operator. ([@koic][])Lint/UselessAssignment
when duplicate assignments inif
branch inside a loop. ([@koic][])Lint/UselessAssignment
withretry
inrescue
branch. ([@earlopain][])Style/RedundantParentheses
when parentheses are used around a one-linerescue
expression inside array or hash literals. ([@koic][])Changes
Naming/MethodName
cop to detect offenses withinalias
andalias_method
calls. ([@viralpraxis][])||
toLint/LiteralAsCondition
. ([@zopolis4][])v1.79.0
Compare Source
New features
Layout/EmptyLinesAfterModuleInclusion
. ([@lovro-bikic][])Naming/MethodName
cop to detect offenses withinData
members. ([@viralpraxis][])Bug fixes
Style/ParallelAssignment
when a lambda with parallel assignment is used on the RHS. ([@koic][])Style/AccessorGrouping
separated autocorrect. ([@r7kamura][])Lint/UselessAssignment
when the assignment is inside a loop body. ([@5hun-s][])Style/RedundantParentheses
when using parentheses around arescue
expression on a one-line. ([@koic][])Style/AccessModifierDeclarations
when using a grouped access modifier declaration. ([@girasquid][])Style/SingleLineMethods
when defining a single-line singleton method. ([@koic][])Style/SingleLineMethods
when a single-line method definition contains a modifier. ([@koic][])Naming/MethodName
cop false positives withdefine_method
and operator names. ([@viralpraxis][])Naming/PredicateMethod
ignoring the implicitnil
from missingelse
branches. ([@earlopain][])Style/ItBlockParameter
cop error onalways
style and missing block body. ([@viralpraxis][])Lint/RequireRangeParentheses
to not register false positives when range elements span multiple lines. ([@dvandersluis][])Style/SoleNestedConditional
to properly correct assignments withinand
. ([@dvandersluis][])Changes
tsort
gem to runtime dependency for Ruby 3.5-dev. ([@koic][])Style/ItAssignment
to consider all local variable and method parameter names. ([@dvandersluis][])Layout/SpaceAroundKeyword
to offend for missing whitespace betweenreturn
and opening parenthesis. ([@lovro-bikic][])Layout/SpaceAroundOperators
aware of alternative and as pattern matchings. ([@koic][])Lint/RedundantSafeNavigation
aware of builtin convert methodsto_s
,to_i
,to_f
,to_a
, andto_h
. ([@koic][])InferNonNilReceiver
config toLint/RedundantSafeNavigation
to check previous code paths if the receiver is non-nil. ([@fatkodima][])array1.any? { |elem| array2.member?(elem) }
andarray1.none? { |elem| array2.member?(elem) }
inStyle/ArrayIntersect
. ([@lovro-bikic][])v1.78.0
Compare Source
New features
Naming/MethodName
cop to detect offenses withindefine_method
calls. ([@viralpraxis][])Naming/MethodName
cop to handle offenses withinStruct
members. ([@viralpraxis][])Security/Eval
cop to detectKernel.eval
calls. ([@viralpraxis][])Bug fixes
Style/HashConversion
to avoid syntax error. ([@koic][])Style/SingleLineMethods
. ([@koic][])--format
disables parallelization. ([@r7kamura][])Lint/DuplicateMethods
cop when self-alias trick is used. ([@viralpraxis][])Lint/LiteralAsCondition
when a literal is used inside||
incase
condition. ([@koic][])Style/HashConversion
for nestedHash[]
calls. ([@dvandersluis][])Lint/RedundantTypeConversion
when using parentheses with no arguments or any arguments. ([@koic][])Style/ItBlockParameter
when using a single numbered parameter after multiple numbered parameters in a method chain. ([@koic][])Changes
WaywardPredicates
config toNaming/PredicateMethod
to handle methods that look like predicates but aren't. ([@dvandersluis][])v1.77.0
Compare Source
New features
Gemspec/AttributeAssignment
cop. ([@viralpraxis][])Style/CollectionQuerying
. ([@lovro-bikic][])DefaultToNil
option toStyle/FetchEnvVar
cop. ([@Yuhi-Sato][])Gemspec/RequireMFA
cop autocorrect to insert MFA directive after lastmetadata
assignment. ([@viralpraxis][])Layout/SpaceInsideArrayLiteralBrackets
cop to analyze nested constant patterns. ([@viralpraxis][])Bug fixes
Style/HashConversion
when using nestedHash[]
. ([@koic][])Style/SoleNestedConditional
when autocorrecting nested if/unless/if. ([@ssagara00][])Layout/SpaceBeforeBrackets
when call desugaredHash#[]
to lvar receiver with a space around the dot. ([@koic][])Style/RedundantParentheses
when assigning a parenthesized one-linein
pattern matching. ([@koic][])Style/RedundantSelf
when receiver and lvalue have the same name in or-assignment. ([@koic][])Lint/SelfAssignment
to allow inline RBS comments. ([@Morriar][])Style/MethodCallWithArgsParentheses
false positive on forwarded keyword argument with additional arguments. ([@viralpraxis][])Style/RedundantParentheses
. ([@lovro-bikic][])Changes
Naming/PredicateMethod
to consider negation (!
/not
) as boolean values. ([@dvandersluis][])Naming/PredicateMethod
to treat returned predicate method calls as boolean values. ([@dvandersluis][])v1.76.2
Compare Source
Bug fixes
Lint/EmptyInterpolation
when using a boolean literal inside interpolation. ([@koic][])Lint/UselessDefaultValueArgument
whenfetch
call without a receiver. ([@koic][])Style/ConditionalAssignment
cop when using one-line branches. ([@viralpraxis][])Style/RedundantParentheses
when using parenthesized one-line pattern matching in endless method definition. ([@koic][])Style/RedundantSelf
when local variable assignment name is used in nestedif
. ([@koic][])Lint/SafeNavigationChain
when a safe navigation is used on the left-hand side of a-
operator when inside an array. ([@koic][])Changes
AllowedPatterns
andAllowBangMethods
configuration toNaming/PredicateMethod
. ([@dvandersluis][])Lint/AmbiguousRange
. ([@lovro-bikic][])Lint/UselessAccessModifier
. ([@lovro-bikic][])Style/MinMaxComparison
. ([@lovro-bikic][])v1.76.1
Compare Source
Bug fixes
Lint/EmptyInterpolation
when using primitives in interpolation. ([@ka8725][])Style/SafeNavigation
when using ternary expression with index access call. ([@koic][])Style/SafeNavigation
when using ternary expression with operator method call. ([@koic][])Style/RedundantArrayFlatten
whenArray#join
is used with an argument other than the defaultnil
. ([@koic][])Style/RedundantParentheses
when using one-linein
pattern matching in operator. ([@koic][])Naming/PredicateMethod
cop error on empty parentheses method body. ([@viralpraxis][])Style/SafeNavigation
cop error on indexed assignment in ternary expression. ([@viralpraxis][])Style/SafeNavigation
invalid autocorrection on double colon method call. ([@viralpraxis][])v1.76.0
Compare Source
New features
Naming/PredicateMethod
cop to check that predicate methods end with?
and non-predicate methods do not. ([@dvandersluis][])Style/EmptyStringInsideInterpolation
cop. ([@zopolis4][])Style/RedundantArrayFlatten
. ([@lovro-bikic][])Lint/UselessOr
. ([@lovro-bikic][])Gemspec
department cops to detect offenses if specification variable isit
or a numbered parameter. ([@viralpraxis][])Lint/UselessDefaultValueArgument
. ([@lovro-bikic][])Bug fixes
Style/RedundantParentheses
when using a one-linerescue
expression as a method argument. ([@koic][])Style/RedundantParentheses
when using one-line pattern matching. ([@koic][])Style/SafeNavigation
when a ternary expression is used in a method argument. ([@steiley][])Lint/LiteralAsCondition
autocorrect when branches of a condition have comments. ([@zopolis4][])Changes
EnforcedStyle: allow_single_line
as the default toStyle/ItBlockParameter
. ([@koic][])Lint/ShadowingOuterLocalVariable
by default. ([@nekketsuuu][])!=
) inLint/IdentityComparison
. ([@lovro-bikic][])v1.75.8
Compare Source
Bug fixes
Lint/FloatComparison
cop to detect floating-point number comparisons incase
statements. ([@daisuke][])Style/RedundantFormat
with invalid format arguments. ([@earlopain][])Style/DefWithParentheses
when using endless method definition with empty parentheses and a space before=
. ([@koic][])EnforcedStyle: with_fixed_indentation
ofLayout/ArgumentAlignment
andEnforcedStyle: consistent
ofLayout/FirstArgumentIndentation
andLayout/HashAlignment
. ([@koic][])Layout/EmptyLinesAroundAccessModifier
cop error on trailing access modifier. ([@viralpraxis][])Lint/DuplicateMethods
cop error onto
option is dynamically generated andprefix
is enabled. ([@viralpraxis][])Style/MapToHash
with destructuring argument. ([@lovro-bikic][])rubocop:todo
EOL comment. ([@jonas054][])v1.75.7
Compare Source
Bug fixes
Style/IfUnlessModifierOfIfUnless
when using nested modifier. ([@koic][])Layout/SpaceBeforeBrackets
when using space between method argument parentheses and left bracket. ([@koic][])Layout/SpaceBeforeBrackets
when using space between receiver and left brackets, and a space inside left bracket. ([@koic][])Style/AccessModifierDeclarations
cop error on semicolon after modifier. ([@viralpraxis][])Style/AccessModifierDeclarations
cop error on symbol modifier without surrounding scope. ([@viralpraxis][])Style/AccessModifierDeclarations
cop false positives when there are no method definitions and style isinline
. ([@viralpraxis][])Lint/UselessAssignment
cop error when using nested assignment with splat. ([@earlopain][])Changes
Gemspec/DuplicatedAssignment
cop to detect duplicated indexed assignment. ([@viralpraxis][])prefix
argument fordelegate
method inLint/DuplicateMethods
. ([@lovro-bikic][])v1.75.6
Compare Source
Bug fixes
Style/MultilineIfModifier
when using nested modifier. ([@koic][])nil
representation in todo file comments. ([@jonas054][])Lint/UselessAssignment
when variables are assigned using unary operator in chained assignment and remain unreferenced. ([@koic][])Style/StringConcatenation
when using implicit concatenation with string interpolation. ([@koic][])Style/SoleNestedConditional
when using nestedif
andnot
in condition. ([@koic][])Layout/SpaceInsideArrayLiteralBrackets
cop error on array pattern without brackets. ([@viralpraxis][])Style/PercentQLiterals
cop error on Unicode escape sequence. ([@viralpraxis][])Changes
Style/ComparableBetween
as unsafe. ([@earlopain][])Lint/DuplicateMethods
aware of Active Support'sdelegate
method. ([@lovro-bikic][])Style/IfUnlessModifier
allow endless method definition in theif
body. ([@koic][])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.