Update dependency rubocop to v1.73.0 #51
Merged
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.0
Release Notes
rubocop/rubocop (rubocop)
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: 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.