Update dependency rubocop to v1.66.1 #53
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/rubocop-1.x-lockfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.65.1->1.66.1Release Notes
rubocop/rubocop (rubocop)
v1.66.1Compare Source
Bug fixes
Style/IfWithSemicolonwhen using nested single-line if/;/end in block of if/else branches. ([@koic][])Style/EmptyLiteralwithHash.new([]). ([@earlopain][])Style/EmptyElsewhenAllowComments: trueand the else clause is missing. ([@vlad-pisanov][])Style/MapIntoArrayautocorrection when usingensure,def,defsandfor. ([@vlad-pisanov][])v1.66.0Compare Source
New features
StringLiteralsFrozenByDefaultoption for correct analysis withRUBYOPT=--enable=frozen-string-literal. ([@earlopain][])DocumentationExtensionglobal option to serve documentation with extensions different than.html. ([@earlopain][])Lint/UselessNumericOperationcop to check for inconsequential numeric operations. ([@zopolis4][])Style/RedundantInterpolationUnfreezecop to check fordupand@+on interpolated strings in Ruby >= 3.0. ([@earlopain][])Bug fixes
Lint/ImplicitStringConcatenationwhen implicitly concatenating a string literal with a line break and string interpolation. ([@koic][])Style/IdenticalConditionalBrancheswhen handling empty case branches. ([@koic][])Style/IfWithSemicolonwhen a nestedifwith a semicolon is used. ([@koic][])Style/InPatternThenwhen using alternative pattern matching deeply. ([@koic][])Style/OneLineConditionalwhen using if/then/else/end with multiple expressions in thethenbody. ([@koic][])Layout/EmptyLineBetweenDefswhen two method definitions are on the same line separated by a semicolon. ([@koic][])Style/IfWithSemicolonwhen a single-lineif/;/endhas an argument in the then body expression. ([@koic][])Style/IfWithSemicolonwhen using multiple expressions in theelsebody. ([@koic][])Style/TrailingBodyOnMethodDefinitionwhen an expression precedes a method definition on the same line with a semicolon. ([@koic][])Layout/BlockAlignmentwhenEnforcedStyleAlignWith: either (default). ([@koic][])Style/MultipleComparisonwhen expression with more comparisons precedes an expression with less comparisons. ([@fatkodima][])Layout/EmptyLinesAroundExceptionHandlingKeywordswhenensureorelseandendare on the same line. ([@koic][])Lint/ImplicitStringConcatenationwhen there are multiple adjacent string interpolation literals on the same line. ([@koic][])Style/GuardClausewhen if clause is empty and correction would not fit on single line because ofLayout/LineLength. ([@earlopain][])Style/ParallelAssignmentwhen using__FILE__. ([@earlopain][])TargetRubyVersiondetection if the gemspec is not valid syntax. ([@earlopain][])Lint/Voidwhen usingensure,defsandnumblock. ([@vlad-pisanov][])Style/MapIntoArraywhen initializing the destination usingArray[],Array([]), orArray.new([]). ([@vlad-pisanov][])Style/EmptyLiteralwhen usingArray[],Hash[],Array.new([])andHash.new([]). ([@vlad-pisanov][])Style/Aliaswhen using multiplealiasindef. ([@koic][])Style/EmptyElsewhen a comment-onlyelseis used afterelsifandAllowComments: trueis set. ([@koic][])Style/MapIntoArraywhen splatting. ([@earlopain][])Style/ArgumentsForwardingwhen forwarding kwargs/block arg with non-matching additional args. ([@koic][])Style/RedundantConditionwhen using modifieriforunless. ([@koic][])Lint/Voidwhen using using frozen literals. ([@vlad-pisanov][])Lint/EmptyConditionalBodywhen missingelsifbody withendon the same line. ([@koic][])Lockfileparser when it contains incompatibleBUNDLED WITHversions. ([@earlopain][])TargetRubyVersionthrough the gemfile if the gemfile ruby version is below 2.7. ([@earlopain][])Changes
get_!,set_!,get_?,set_?,get_=, andset_=inNaming/AccessorMethodName. ([@koic][])Lint/UselessAssignmentautocorrection safe. ([@koic][])Style/RedundantRegexpArgumentrespect theEnforcedStyleofStyle/StringLiterals. ([@koic][])rexmlgem. ([@bquorning][])RuboCop::AST::RationalNode. ([@koic][])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 has been generated by Renovate Bot.
bb7352ae57to88f9c48a91Update dependency rubocop to v1.66.0to Update dependency rubocop to v1.66.188f9c48a91to0e2f19a3e00e2f19a3e0to44c18a7a45