Update dependency rubocop to v1.73.2 #52
Open
+3
−3
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.72.2'
->'1.73.2'
Release Notes
rubocop/rubocop (rubocop)
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.