-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Update dependency rubocop to v1.75.2 #2253
base: trunk
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for selenium-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
CI Feedback 🧐(Feedback updated until commit 66b514a)A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
|
7610a61
to
c181c02
Compare
c181c02
to
d5c7788
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This PR contains the following updates:
1.72.2
->1.75.2
Release Notes
rubocop/rubocop (rubocop)
v1.75.2
Compare Source
Changes
Lint/RedundantTypeConversion
to register an offense forto_json.to_s
. ([@lovro-bikic][])Bug fixes
Lint/DeprecatedOpenSSLConstant
cipher constant argument is notcbc
. ([@koic][])Style/RedundantCondition
when true is used as the true branch and the condition takes arguments. ([@koic][])Lint/ReturnInVoidContext
when returning insidedefine_method
or a nested singleton method. ([@earlopain][])Style/ConditionalAssignment
cop error on dynamic string node in branch. ([@viralpraxis][])Style/FrozenStringLiteralComment
cop errors on emacs-styled magic comment. ([@viralpraxis][])v1.75.1
Compare Source
Changes
EnforcedStyle: allow_named_parameter
toEnforcedStyle: only_numbered_parameters
inStyle/ItBlockParameter
. ([@koic][])v1.75.0
Compare Source
New features
Style/HashFetchChain
cop to detect chainedfetch
calls that can be replaced with a single call todig
. ([@dvandersluis][])Style/ItBlockParameter
cop. ([@koic][])it
block parameter inLayout
cops. ([@koic][])it
block parameter inLint
cops. ([@koic][])it
block parameter inMetrics
cops. ([@koic][])it
block parameter inStyle
cops. ([@koic][])TargetRubyVersion: 3.5
(experimental). ([@earlopain][])Bug fixes
Style/HashFetchChain
when no arguments are given tofetch
. ([@koic][])Layout/MultilineMethodParameterLineBreaks
when class method definitions are used. ([@vlad-pisanov][])Layout/LineLength
when autocorrecting class method definitions. ([@vlad-pisanov][])Layout/SpaceAroundOperators
andLayout/HashAlignment
withEnforcedHashRocketStyle
being an array containingtable
. ([@dvandersluis][])InternalAffairs/RedundantDescribedClassAsSubject
cop error on missingdescribe
. ([@viralpraxis][])Lint/ShadowingOuterLocalVariable
when block local variable is used inside a condition. ([@lovro-bikic][])Lint/UselessAssignment
when a variable is reassigned in a different branch. ([@eugeneius][])Style/SoleNestedConditional
. ([@lovro-bikic][])Style/IfInsideElse
. ([@lovro-bikic][])Changes
does
as a forbidden prefix toNaming/PredicateName
. ([@dvandersluis][])ForbiddenIdentifiers
andForbiddenPatterns
config options toNaming/MethodName
cop. ([@tejasbubane][])Array#intersection
toStyle/ArrayIntersect
. ([@dvandersluis][])prism
translation layer to analyze Ruby 3.4+ by default. ([@earlopain][])Style/RedundantParentheses
to offend parentheses for chained&&
expressions. ([@lovro-bikic][])AllowConsecutiveConditionals
setting toStyle/Next
to allow consecutive conditional statements. ([@vlad-pisanov][])Style/RedundantFormat
to register offenses when the only argument toformat
orsprintf
is a constant. ([@dvandersluis][])v1.74.0
Compare Source
New features
Style/ComparableBetween
. ([@lovro-bikic][])Style/CommentedKeyword
. ([@dak2][])Bug fixes
Lint/SharedMutableDefault
whencapacity
keyword argument is used. ([@koic][])Style/DoubleNegation
when callingdefine_method
/define_singleton_method
with a numblock. ([@earlopain][])Lint/ReturnInVoidContext
when returning out of a block. ([@earlopain][])Lint/UselessConstantScoping
for constants defined inclass << self
. ([@earlopain][])Lint/NonLocalExitFromIterator
with numblocks. ([@earlopain][])Style/RedundantCurrentDirectoryInPath
when using a complex current directory path inrequire_relative
. ([@koic][])Lint/LiteralAsCondition
when the literal is followed byreturn
,break
, ornext
. ([@earlopain][])Style/MethodCallWithArgsParentheses
withEnforcedStyle: omit_parentheses
style and numblocks. ([@earlopain][])rubocop-rails
orrubocop-performance
extraction, even if they are already part of the Gemfile. ([@earlopain][])Lint/RedundantCopDisableDirective
to register an offense when cop names are given with improper casing. ([@dvandersluis][])Style/RescueModifier
when using parallel assignment and the right-hand-side is not a bracketed array. ([@earlopain][])Changes
EnforcedStyleForClasses
andEnforcedStyleForModules
configuration options toStyle/ClassAndModuleChildren
. ([@dvandersluis][])Mode: conservative
configuration toStyle/FormatStringToken
to make the cop only register offenses for strings given toprintf
,sprintf
,format
, and%
. ([@dvandersluis][])TLS1_1
andTLS1_2
by default inNaming/VariableNumber
to accommodate OpenSSL version parameter names. ([@koic][])Lint/RedundantTypeConversion
aware of redundantto_d
. ([@koic][])v1.73.2
Compare Source
Bug fixes
Style/InverseMethods
when usingany?
ornone?
with safe navigation operator. ([@koic][])Style/RedundantCondition
when a variable or a constant is used. ([@koic][])Style/RedundantFreeze
when calling methods that produce frozen objects with numblocks. ([@earlopain][])end pattern with unmatched parenthesis: / (RegexpError)
on Ruby 3.2.0. ([@dvandersluis][])Style/KeywordParametersOrder
when the arguments are on multiple lines and contain comments. ([@earlopain][])Changes
Lint/EmptyConditionalBody
to be safe. ([@dvandersluis][])v1.73.1
Compare Source
Bug fixes
Lint/MixedCaseRange
when/[[ ]]/
is used. ([@koic][])Lint/EmptyConditionalBody
when assigning to a variable with only a single branch. ([@earlopain][])Style/RedundantCondition
when using when true is used as the true branch and the condition is not a predicate method. ([@koic][])Layout/ClosingParenthesisIndentation
when first parameter is a hash. ([@tejasbubane][])Style/CommentedKeyword
. ([@dak2][])Lint/LiteralAsCondition
acting on the right hand side of && nodes. ([@zopolis4][])v1.73.0
Compare Source
New features
require_always
option toStyle/EndlessMethod
. ([@koic][])require_single_line
option toStyle/EndlessMethod
. ([@jtannas][])Bug fixes
Style/RedundantSelfAssignment
when the method receives a block. ([@vlad-pisanov][])Lint/MixedCaseRange
is enabled. ([@earlopain][])Lint/Void
when using operator method call without argument. ([@koic][])Style/TrivialAccessors
withinstance_eval
and numblocks. ([@earlopain][])Style/EndlessMethod
when using setter method definitions. ([@koic][])Layout/LineLength
with interpolated strings when not on the first line. ([@dvandersluis][])Layout/EmptyLinesAroundAccessModifier
andLayout/EmptyLinesAroundBlockBody
withEnforcedStyle: no_empty_lines
. ([@dvandersluis][])Style/AccessorGrouping
with constants. ([@tejasbubane][])Style/RedundantFormat
for annotated template strings with missing hash keys. ([@dvandersluis][])Style/RedundantFormat
when given double-splatted arguments. ([@dvandersluis][])Style/StringConcatenation
when numblocks are used. ([@earlopain][])require 'pp'
to be redundant forLint/RedundantRequireStatement
. ([@earlopain][])Style/HashExcept
andStyle/HashSlice
to not register an offense if selecting over the hash value. ([@dvandersluis][])Changes
ForbiddenNames
configuration toNaming/VariableName
to specify names that are forbidden. ([@dvandersluis][])Lint/LiteralAsCondition
cop to check for redundant conditions. ([@zopolis4][])Reference
to common params. ([@sambostock][])Lint/RedundantTypeConversion
to not register an offense when given a constructor withexception: false
. ([@dvandersluis][])Style/RedundantCondition
cop to detect conditional expressions where the true branch istrue
and suggest replacing them with a logical OR. ([@datpmt][])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.