forked from ictsc/ictsc-score-server
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update dependency rubocop to v1.71.0 #84
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/rubocop-1.x-lockfile
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
2 times, most recently
from
January 28, 2024 02:04
8a3eb81
to
e3a0bae
Compare
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
February 29, 2024 12:06
e3a0bae
to
1fe1552
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.60.2
Update dependency rubocop to v1.61.0
Feb 29, 2024
renovate
bot
changed the title
Update dependency rubocop to v1.61.0
Update dependency rubocop to v1.62.0
Mar 6, 2024
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
2 times, most recently
from
March 11, 2024 14:51
30ec319
to
e427668
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.62.0
Update dependency rubocop to v1.62.1
Mar 11, 2024
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
April 8, 2024 08:19
e427668
to
9b4b8fb
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.62.1
Update dependency rubocop to v1.63.0
Apr 8, 2024
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
April 10, 2024 16:42
9b4b8fb
to
818b5eb
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.63.0
Update dependency rubocop to v1.63.1
Apr 10, 2024
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
April 16, 2024 10:58
818b5eb
to
b230d60
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.63.1
Update dependency rubocop to v1.63.2
Apr 16, 2024
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
April 22, 2024 16:48
b230d60
to
10cbb32
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.63.2
Update dependency rubocop to v1.63.3
Apr 22, 2024
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
April 28, 2024 06:30
10cbb32
to
f91abcc
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.63.3
Update dependency rubocop to v1.63.4
Apr 28, 2024
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
May 9, 2024 09:05
f91abcc
to
0ba7f0a
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.63.4
Update dependency rubocop to v1.63.5
May 9, 2024
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
May 23, 2024 13:09
0ba7f0a
to
d37bbb4
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.63.5
Update dependency rubocop to v1.64.0
May 23, 2024
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
May 31, 2024 06:18
d37bbb4
to
b4061a8
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.64.0
Update dependency rubocop to v1.64.1
May 31, 2024
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
July 10, 2024 09:57
b4061a8
to
6bde985
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.64.1
Update dependency rubocop to v1.65.0
Jul 10, 2024
renovate
bot
changed the title
Update dependency rubocop to v1.65.0
Update dependency rubocop to v1.65.0 - autoclosed
Jul 14, 2024
renovate
bot
changed the title
Update dependency rubocop to v1.65.0 - autoclosed
Update dependency rubocop to v1.65.0
Jul 21, 2024
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
August 1, 2024 10:44
6bde985
to
51795d2
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.65.0
Update dependency rubocop to v1.65.1
Aug 1, 2024
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
August 31, 2024 16:23
51795d2
to
4409c95
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.65.1
Update dependency rubocop to v1.66.0
Aug 31, 2024
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
September 4, 2024 10:04
4409c95
to
cf8e7b2
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.66.0
Update dependency rubocop to v1.66.1
Sep 4, 2024
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
October 15, 2024 15:14
cf8e7b2
to
c7840ea
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.66.1
Update dependency rubocop to v1.67.0
Oct 15, 2024
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
October 31, 2024 08:19
c7840ea
to
08f0718
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.67.0
Update dependency rubocop to v1.68.0
Oct 31, 2024
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
November 26, 2024 19:40
08f0718
to
fdd1da5
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.68.0
Update dependency rubocop to v1.69.0
Nov 26, 2024
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
December 3, 2024 10:53
fdd1da5
to
2f56c66
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.69.0
Update dependency rubocop to v1.69.1
Dec 3, 2024
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
December 12, 2024 17:52
2f56c66
to
bf2d6f1
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.69.1
Update dependency rubocop to v1.69.2
Dec 12, 2024
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
January 10, 2025 14:01
bf2d6f1
to
88e061e
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.69.2
Update dependency rubocop to v1.70.0
Jan 10, 2025
renovate
bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
January 22, 2025 21:51
88e061e
to
5b930a0
Compare
renovate
bot
changed the title
Update dependency rubocop to v1.70.0
Update dependency rubocop to v1.71.0
Jan 22, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.56.3
->1.71.0
Release Notes
rubocop/rubocop (rubocop)
v1.71.0
Compare Source
New features
Lint/ArrayLiteralInRegexp
cop. ([@dvandersluis][])Style/HashSlice
cop. ([@lovro-bikic][])Bug fixes
Style/FrozenStringLiteralComment
when using the frozen string literal magic comment in Active Admin's arb files. ([@koic][])rubocop_cache
to the path given by--cache-root
when pruning cache. ([@capncavedan][])Lint/OutOfRangeRegexpRef
when matching withmatch
using safe navigation. ([@koic][])Style/BlockDelimiters
when using brace blocks as conditions underEnforcedStyle: semantic
. ([@koic][])Style/RedundantLineContinuation
when the continuation is preceded by an interpolated string. ([@dvandersluis][])Style/RedundantLineContinuation
when the continuation is followed by a percent array. ([@dvandersluis][])Style/RedundantLineContinuation
when the ruby code ends with a commented continuation. ([@dvandersluis][])Style/ArrayFirstLast
when calling.[]
or&.[]
with 0 or -1. ([@dvandersluis][])Lint/SafeNavigationChain
when adding safe navigation to an operator call inside a hash. ([@dvandersluis][])Style/IfUnlessModifier
when using omitted hash values in an assignment. ([@elliottt][])Style/SoleNestedConditional
. ([@tejasbubane][])Style/RedundantLineContinuation
when calling methods with fully qualified constants. ([@earlopain][])Style/ConditionalAssignment
cop error onunless
withoutelse
andassign_inside_condition
enforced style. ([@viralpraxis][])Style/FrozenStringLiteralComment
cop error on unnormalized magic comment andnever
enforced style. ([@viralpraxis][])Metrics/CollectionLiteralLength
to only register for[]
when called onSet
. ([@dvandersluis][])Changes
Lint/FloatComparison
. ([@dvandersluis][])Layout/MultilineMethodCallBraceLayout
. ([@dvandersluis][])Layout/MultilineMethodArgumentLineBreaks
. ([@dvandersluis][])Security/CompoundHash
. ([@dvandersluis][])Style/BlockDelimiters
. ([@dvandersluis][])Style/CollectionMethods
. ([@dvandersluis][])Style/MapToSet
. ([@dvandersluis][])Style/MethodCallWithoutArgsParentheses
. ([@dvandersluis][])Lint/NumericOperationWithConstantResult
. ([@dvandersluis][])Lint/RedundantStringCoercion
. ([@dvandersluis][])Lint/UselessNumericOperation
. ([@dvandersluis][])--show-cops
. ([@kyanagi][])Style/RedundantParentheses
aware of parenthesized assignment. ([@koic][])Style/RedundantLineContinuation
to handle required continuations followingsuper
. ([@dvandersluis][])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][])v1.69.2
Compare Source
Bug fixes
Style/MultipleComparison
when a variable is compared multiple times after a method call. ([@koic][])Bundler/DuplicatedGem
cop error in case of empty branch. ([@viralpraxis][])Lint/UnescapedBracketInRegexp
cop failure with invalid multibyte escape. ([@earlopain][])Style/FileNull
when using'nul'
string. ([@koic][])--disable-uncorrectable
to not insert directives inside a string. ([@dvandersluis][])Layout/LineContinuationLeadingSpace
andStyle/StringLiterals
autocorrects in the same pass. ([@dvandersluis][])Style/BlockDelimiters
to always accept braces when an operator method argument is chained. ([@dvandersluis][])Style/RedundantLineContinuation
false negatives when a redundant continuation follows a required continuation. ([@dvandersluis][])Style/IfWithSemicolon
when using multi value assignment inif
with a semicolon is used. ([@koic][])Layout/LineLength
cop failure in case of YARD-comment-like string. ([@viralpraxis][])Lint/NonAtomicFileOperation
cop error in case of implicit receiver. ([@viralpraxis][])Metrics/ClassLength
cop error in case of chained assignments. ([@viralpraxis][])Naming/RescuedExceptionsVariableName
cop error when exception is assigned with writer method. ([@viralpraxis][])Style/RedundantLineContinuation
when a method definition is used as an argument for a method call. ([@davidrunger][])Style/ExactRegexpMatch
cop error on invalid regular expression literal. ([@viralpraxis][])Style/FrozenStringLiteralComment
false positive in case of non-downcased value literal. ([@viralpraxis][])Style/MethodCallWithoutArgsParentheses
cop error in case of mass hash assignment. ([@viralpraxis][])Style/RedundantCondition
cop failure in case of empty arguments. ([@viralpraxis][])Layout/ExtraSpacing
andLayout/SpaceAroundOperators
to handle preceding operators inside strings. ([@dvandersluis][])v1.69.1
Compare Source
Bug fixes
Style/DigChain
when using safe navigation method chain withdig
method. ([@koic][])Style/ParallelAssignment
when using the anonymous splat operator. ([@earlopain][])Lint/UnreachableCode
. ([@isuckatcs][])Style/HashExcept
cop when usingreject/!include?
,reject/!in?
orselect/!exclude?
combinations. ([@lovro-bikic][])Lint/UnescapedBracketInRegexp
cop failure with invalid regular expression. ([@viralpraxis][])Style::AccessModifierDeclarations
cop failure in case ofif
node withoutelse
. ([@viralpraxis][])Style/RedundantArgument
cop failure while inspecting string literal with invalid encoding. ([@viralpraxis][])Style/RedundantParentheses
cop failure in case of splattedcase
node without condition. ([@viralpraxis][])Style/RedundantSelf
cop failure withkwnilarg
argument node. ([@viralpraxis][])Style/StringConcatenation
cop failure when there are mixed implicit and explicit concatenations. ([@viralpraxis][])Lint/UnescapedBracketInRegexp
when using regexp_parser 2.9.2 and earlier. ([@dvandersluis][])Style/BlockDelimiters
to not change braces when they are required for syntax. ([@dvandersluis][])Style/LambdaCall
to be aware of safe navigation. ([@dvandersluis][])v1.69.0
Compare Source
New features
Lint/HashNewWithKeywordArgumentsAsDefault
cop. ([@koic][])Lint/NumericOperationWithConstantResult
cop. ([@zopolis4][])Style/DigChain
cop. ([@dvandersluis][])Style/FileNull
cop. ([@dvandersluis][])Style/FileTouch
cop. ([@lovro-bikic][])Lint/UselessDefined
to detect cases such asdefined?('Foo')
whendefined?(Foo)
was intended. ([@earlopain][])Bug fixes
Layout/EmptyLineAfterGuardClause
when using a guard clause outside oneliner block. ([@koic][])Style/RedundantLineContinuation
when there is a line continuation at the end of Ruby code followed by__END__
data. ([@koic][])Style/CommentedKeyword
. ([@dak2][])Style/IfWithSemicolon
when usingreturn
with value inif
with a semicolon is used. ([@koic][])Style/IfWithSemicolon
when the then body contains an arithmetic operator method call with an argument. ([@koic][])Style/RedundantCondition
skip autocorrection when a branch has a comment. ([@koic][])Style/BitwisePredicate
when having regular method. ([@d4be4st][])Lint/FloatComparison
against nil. ([@lovro-bikic][])Lint/InterpolationCheck
when using invalid syntax in interpolation. ([@koic][])Lint/SafeNavigationConsistency
when using unsafe navigation with both&&
and||
. ([@koic][])Naming/MemoizedInstanceVariableName
for assignment methods`. ([@earlopain][])Naming/MemoizedInstanceVariableName
when usinginitialize_clone
,initialize_copy
, orinitialize_dup
. ([@koic][])Style/SafeNavigation
when using a method chain that exceeds theMaxChainLength
value and includes safe navigation operator. ([@koic][])Style/AccessModifierDeclarations
for multiple inline symbols. ([@dvandersluis][])Lint/Void
if an operator is called in a void context using a dot. ([@dvandersluis][])Lint/DeprecatedOpenSSLConstant
false positive when the argument is a safe navigation method call. ([@dvandersluis][])Style/AccessModifierDeclarations
to register (as positive or negative, depending onAllowModifiersOnSymbols
value) access modifiers with multiple symbols. ([@dvandersluis][])Lint/RedundantSplatExpansion
when percent literal array is used in a safe navigation method call. ([@lovro-bikic][])Style/NestedTernaryOperator
when ternary operators are nested and the inner condition is parenthesized. ([@koic][])Style/OneLineConditional
when the else branch of a ternary operator has multiple expressions. ([@koic][])Style/RedundantRegexpArgument
when using escaped double quote character. ([@koic][])Style/IfWithSemicolon
when using nested if/;/end in if body. ([@koic][])Layout/LeadingCommentSpace
to accept multiline shebangs at the top of the file. ([@dvandersluis][])Style/AccessModifierDeclarations
to handleattr_*
methods with multiple parameters. ([@dvandersluis][])Style/SingleLineDoEndBlock
to not register an offense if it will introduce a conflictingLayout/RedundantLineBreak
offense. ([@dvandersluis][])Changes
Layout/LineLength
whenSplitStrings
is set totrue
. ([@dvandersluis][])Style/ArrayIntersect
aware ofnone?
. ([@earlopain][])Lint/ItWithoutArgumentsInBlock
to not register offenses in Ruby 3.4. ([@dvandersluis][])Lint/RedundantSafeNavigation
to register an offense when the receiver isself
. ([@dvandersluis][])Lint/UnusedMethodArgument
to allow the class names forIgnoreNotImplementedMethods
to be configured. ([@dvandersluis][])Style/AccessModifierDeclarations
to accept modifier with splatted method call. ([@dvandersluis][])v1.68.0
Compare Source
New features
Style/BitwisePredicate
cop. ([@koic][])Style/CombinableDefined
cop. ([@dvandersluis][])Style/AmbiguousEndlessMethodDefinition
cop. ([@dvandersluis][])Lint/UnescapedBracketInRegexp
cop. ([@dvandersluis][])AllowSteepAnnotation
config option toLayout/LeadingCommentSpace
. ([@tk0miya][])IgnoreDuplicateElseBranch
option toLint/DuplicateBranch
. ([@fatkodima][])Style/SafeNavigationChainLength
cop. ([@fatkodima][])Style/KeywordArgumentsMerging
cop. ([@fatkodima][])Bug fixes
Style/RedundantLineContinuation
when there is a line continuation at the EOF. ([@koic][])Naming/BlockForwarding
withStyle/ExplicitBlockArgument
. ([@koic][])Style/BlockDelimiters
autocorrection does not move other code between the block and comment. ([@dvandersluis][])Lint/UselessAssignment
cop when there is a useless assignment followed by a block. ([@pCosta99][])Style/MapIntoArray
when using non-splatted arguments. ([@vlad-pisanov][])Layout/SpaceBeforeBrackets
when there is a dot before[]=
. ([@earlopain][])Lint/SafeNavigationConsistency
when using safe navigation on the LHS with operator method on the RHS of&&
. ([@koic][])Style/GuardClause
when using a local variable assigned in a conditional expression in a branch. ([@koic][])Style/RedundantLineContinuation
when required line continuations for&&
is used with an assignment after a line break. ([@koic][])Style/RedundantParentheses
when parentheses are used around method chain withdo
...end
block in keyword argument. ([@koic][])Lint/SafeNavigationChain
when a safe navigation operator is used with a method call as the RHS operand of&&
for the same receiver. ([@koic][])--disable-uncorrectable
to not insert a comment inside a string continuation. ([@dvandersluis][])Lint/UselessAssignment
a multiple assignment orfor
contains an inner assignment. ([@dvandersluis][])Style/BlockDelimiters
whenEnforcedStyle: semantic
is set and used withLayout/SpaceInsideBlockBraces
. ([@koic][])Style/RedundantInterpolationUnfreeze
andStyle/RedundantFreeze
when strings contain interpolated global, instance, and class variables. ([@vlad-pisanov][])Layout/LineLength
from breaking up a method with arguments chained onto a heredoc delimiter. ([@dvandersluis][])--display-only-correctable
and--display-only-safe-correctable
when no offenses are displayed. ([@dvandersluis][])Style/MultipleComparison
whenComparisonsThreshold
exceeds 2. ([@fatkodima][],[@vlad-pisanov][])Lint/NonAtomicFileOperation
when using a postfixunless
for file existence checks before creating a file, in cases withDir.mkdir
. ([@kotaro0522][])PercentLiteralCorrector
to be able to write pairs of delimiters without excessive escaping. ([@dvandersluis][])Style/SafeNavigation
to not autocorrect if the RHS of anand
node is anor
node. ([@dvandersluis][])Style/TernaryParentheses
with asend
node condition, ensure its arguments are parenthesized. ([@dvandersluis][])Changes
rubocop -V
, show the analysis Ruby version of the current directory. ([@earlopain][])v1.67.0
Compare Source
New features
Lint/DuplicateSetElement
cop. ([@koic][])AllowRBSInlineAnnotation
config option toLayout/LeadingCommentSpace
to support RBS::Inline style annotation comments. ([@tk0miya][])rubocop -V
. ([@koic][])Bug fixes
Style/Semicolon
when using a semicolon between a closing parenthesis after a line break and a consequent expression. ([@koic][])Lint/ParenthesesAsGroupedExpression
with compound ranges. ([@gsamokovarov][])Style/BlockDelimiters
when a single line do-end block with an inlinerescue
with a semicolon beforerescue
. ([@koic][])Layout/AccessModifierIndentation
when the access modifier is on the same line as the class definition. ([@koic][])Style/OneLineConditional
when using nested if/then/else/end. ([@koic][])Lint/ImplicitStringConcatenation
withLint/TripleQuotes
when string literals with triple quotes are used. ([@koic][])Style/ArgumentsForwarding
when using only forwarded arguments in brackets. ([@koic][])Style/CombinableLoops
when looping over the same data with different block variable names. ([@koic][])Style/RescueModifier
when using modifier rescue for method call with heredoc argument. ([@koic][])--auto-gen-config
when passing an absolute config path. ([@earlopain][])Style/OperatorMethodCall
with/
operations followed by a parenthesized argument. ([@dvandersluis][])Style/IfUnlessModifier
when multilineif
that fits on one line and using implicit method call with hash value omission syntax. ([@koic][])Style/ArgumentsForwarding
with Ruby 3.0 and optional position arguments. ([@earlopain][])Lint/AmbiguousRange
when using rational literals. ([@koic][])Lint/RedundantSafeNavigation
with namespaced constants. ([@earlopain][])Style/OperatorMethodCall
with named forwarding. ([@earlopain][])Style/AccessModifierDeclarations
whenAllowModifiersOnAttrs: true
and using splat with a percent symbol array, or with a constant. ([@koic][])Style/RedundantLineContinuation
when line continuations with comparison operator and the LHS is wrapped in parentheses. ([@koic][])Style/ArgumentsForwarding
when argument is used inside a block. ([@dvandersluis][])Style/CollectionCompact
when usingdelete_if
. ([@masato-bkn][])regexp
inLint/LiteralInInterpolation
. ([@dvandersluis][])Style/IfWithSemicolon
when single-lineif/;/end
when the then body contains a method call with[]
or[]=
. ([@koic][])Style/HashEachMethods
if the hash is modified within the block. ([@dvandersluis][])TargetRubyVersion
from a gemspec when the gemspec is not named like the folder it is located in. ([@earlopain][])Style/GuardClause
when using heredoc withoutelse
branch. ([@earlopain][])Lint/BigDecimalNew
when using::BigDecimal.new
. ([@earlopain][])Style/MethodCallWithArgsParentheses
withEnforcedStyle: omit_parentheses
and whitespace. ([@earlopain][])Style/RedundantBegin
andStyle/BlockDelimiters
withEnforcedStyle: braces_for_chaining
. ([@earlopain][])Changes
Style/AccessorGrouping
. ([@tk0miya][])AllowedMethods
configuration toLayout/FirstMethodArgumentLineBreak
. ([@dvandersluis][])Style/ArgumentsForwarding
for detecting forwarding of all anonymous arguments. ([@dvandersluis][])Style/CommentedKeyword
. ([@tk0miya][])RuboCop::Cop::Cop
. ([@earlopain][])EnforcedShorthandSyntax: either
by default forStyle/HashSyntax
. ([@koic][])Naming/InclusiveLanguage
when a sole suggestion is set. ([@koic][])Style/SelectByRegexp
aware offilter
in Ruby version 2.6 or above. ([@masato-bkn][])Lint/SafeNavigationConsistency
cop to check that the safe navigation operator is applied consistently and without excess or deficiency. ([@koic][])Style/SafeNavigation
offenses. ([@dvandersluis][])filter/filter!
inStyle/CollectionCompact
. ([@masato-bkn][])Lint/UriRegexp
to avoid obsolete API. ([@koic][])Style/MapIntoArray
to be able to handle arrays created using[].tap
. ([@dvandersluis][])Style/ReturnNilInPredicateMethodDefinition
to detect implicitnil
returns insideif
. ([@dvandersluis][])v1.66.1
[Compare Source](https://redirect.github.c
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.