-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
chore(deps): update dependency rubocop to v1.70.0 #2125
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 Failure Feedback 🧐(Checks updated until commit e5793bf)
✨ CI feedback usage guide:The CI feedback tool (
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:
where Configuration options
See more information about the |
This PR contains the following updates:
1.69.2
->1.70.0
Release Notes
rubocop/rubocop (rubocop)
v1.70.0
Compare Source
New features
Style/ItAssignment
cop to detect local assignments toit
inside blocks. ([@dvandersluis][])Lint/SharedMutableDefault
cop to alert on mutable Hash defaults. ([@corsonknowles][])Lint/ConstantReassignment
. ([@lovro-bikic][])target_gem_version
API to change behavior of a cop at runtime depending on which gem version is present. ([@earlopain][])Bug fixes
Lint/NonAtomicFileOperation
to detect offenses with fully qualified constants. ([@viralpraxis][])--format
option to accept fully qualified formatter class names. ([@viralpraxis][])Lint/Syntax
when a syntax error occurs. ([@earlopain][])RuboCop::Cop::Util.to_string_literal
to work correctly with frozen strings. ([@viralpraxis][])Lint/Void
inside of non-modifier conditionals. ([@GabeIsman][])Style/MultipleComparison
when settingAllowMethodComparison: false
and comparing with simple method calls. ([@koic][])Layout/EmptyLinesAroundAccessModifier
when an access modifier and an expression are on the same line. ([@koic][])Style/MethodCallWithArgsParentheses
when settingEnforcedStyle: omit_parentheses
and last argument is an endless range. ([@earlopain][])Style/RaiseArgs
with anonymous splat and triple dot forwarding. ([@earlopain][])Lint/NestedMethodDefinition
when defining a method on a constant or a method call. ([@koic][])Style/MultipleComparison
when using multiple safe navigation method calls. ([@koic][])Style/RedundantInitialize
when empty initialize method has arguments. ([@marocchino][])rubocop -d
on a config with a remoteinherit_from
that causes a duplicate setting warning. ([@dvandersluis][])Style/RedundantLineContinuation
with multiple line continuations. ([@dvandersluis][])Naming/BlockForwarding
when method just returns the block argument. ([@mvz][])Layout/HashAlignment
when there is a multiline positional argument andLayout/ArgumentAlignment
is configured withEnforcedStyle: with_fixed_indentation
. ([@dvandersluis][])Layout/SpaceAroundOperators
when different comparison operators were aligned with each other. ([@dvandersluis][])Lint/LiteralInInterpolation
cop error on invalid string literal. ([@viralpraxis][])Lint/NonAtomicFileOperation
cop error on non-constant receiver. ([@viralpraxis][])Lint/Void
cop error onif
without body. ([@viralpraxis][])Style/ClassAndModuleChildren
cop error oncompact
enforced style and unindented body. ([@viralpraxis][])Style/FloatDivision
cop error if#to_f
has implicit receiver. ([@viralpraxis][])Style/HashExcept
to recognize safe navigation whenActiveSupportExtensionsEnabled
config is enabled. ([@lovro-bikic][])Style/HashSyntax
cop error on implicitcall
method. ([@viralpraxis][])Style/MissingElse
cop error ifStyle/EmptyElse
'sEnforcedStyle
is notboth
andif
expression containselsif
. ([@viralpraxis][])Style/MissingElse
cop error ifStyle/EmptyElse
'sEnforcedStyle
is notboth
andif
expression contains multipleelsif
. ([@viralpraxis][])Style/RedundantCondition
cop error on parentheses and modifierif
inelse
. ([@viralpraxis][])Style/RedundantRegexpArgument
when the regex contains a single quote. ([@mrzasa][])Style/YodaExpression
cop error in case of suffix form of operator. ([@viralpraxis][])Layout/LineContinuationSpacing
to ignore continuations inside aregexp
orxstr
. ([@dvandersluis][])Style/SuperArguments
to handlesuper
with a block or with a chained method with a block. ([@dvandersluis][])NoMethodError
inConfigValidator
when a Cop's config is not aHash
and raiseValidationError
instead. ([@amomchilov][])Changes
Style/ObjectThen
. ([@dvandersluis][])Layout/HashAlignment
. ([@dvandersluis][])Layout/HeredocArgumentClosingParenthesis
. ([@dvandersluis][])Layout/LineLength
. ([@dvandersluis][])Style/SendWithLiteralMethodName
. ([@dvandersluis][])Lint/NumericOperationWithConstantResult
. ([@earlopain][])Style/SlicingWithRange
when calling.[]
or&.[]
with a correctable range. ([@dvandersluis][])Lint/DuplicateSetElement
to detect offences withinSortedSet
. ([@viralpraxis][])Layout/TrailingWhitespace
to support blank characters other than space and tab. ([@krororo][])Metrics/MethodLength
to make use ofAllowedMethods
andAllowedPatterns
for methods defined dynamically withdefine_method
. ([@dvandersluis][])Style/AccessModifierDeclarations
to addAllowModifiersOnAliasMethod
configuration (defaulttrue
). ([@dvandersluis][])Style/RedundantSelfAssignment
to handle safe navigation on the right-hand side of the assignment. ([@dvandersluis][])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.