chore(deps): update dependency rubocop to '~> 1.66.0' #331
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.65.0'->'~> 1.66.0'Release Notes
rubocop/rubocop (rubocop)
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 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.