-
Notifications
You must be signed in to change notification settings - Fork 1
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.74.0 #60
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/rubocop-1.x
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
+6
−5
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
a4a44a0
to
500c300
Compare
500c300
to
c797900
Compare
c797900
to
cf1d5e1
Compare
@rultor please, try to merge, since 11 checks have passed |
@renovate[bot] @yegor256 Oops, I failed. You can see the full log here (spent 10min).
|
cf1d5e1
to
13c0923
Compare
13c0923
to
f3c309a
Compare
f3c309a
to
ab77972
Compare
ab77972
to
8a0c198
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.71.2'
->'1.74.0'
Release Notes
rubocop/rubocop (rubocop)
v1.74.0
Compare Source
New features
Style/ComparableBetween
. ([@lovro-bikic][])Style/CommentedKeyword
. ([@dak2][])Bug fixes
Lint/SharedMutableDefault
whencapacity
keyword argument is used. ([@koic][])Style/DoubleNegation
when callingdefine_method
/define_singleton_method
with a numblock. ([@earlopain][])Lint/ReturnInVoidContext
when returning out of a block. ([@earlopain][])Lint/UselessConstantScoping
for constants defined inclass << self
. ([@earlopain][])Lint/NonLocalExitFromIterator
with numblocks. ([@earlopain][])Style/RedundantCurrentDirectoryInPath
when using a complex current directory path inrequire_relative
. ([@koic][])Lint/LiteralAsCondition
when the literal is followed byreturn
,break
, ornext
. ([@earlopain][])Style/MethodCallWithArgsParentheses
withEnforcedStyle: omit_parentheses
style and numblocks. ([@earlopain][])rubocop-rails
orrubocop-performance
extraction, even if they are already part of the Gemfile. ([@earlopain][])Lint/RedundantCopDisableDirective
to register an offense when cop names are given with improper casing. ([@dvandersluis][])Style/RescueModifier
when using parallel assignment and the right-hand-side is not a bracketed array. ([@earlopain][])Changes
EnforcedStyleForClasses
andEnforcedStyleForModules
configuration options toStyle/ClassAndModuleChildren
. ([@dvandersluis][])Mode: conservative
configuration toStyle/FormatStringToken
to make the cop only register offenses for strings given toprintf
,sprintf
,format
, and%
. ([@dvandersluis][])TLS1_1
andTLS1_2
by default inNaming/VariableNumber
to accommodate OpenSSL version parameter names. ([@koic][])Lint/RedundantTypeConversion
aware of redundantto_d
. ([@koic][])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][])v1.72.2
Compare Source
Bug fixes
AllCops: Exclude
as expected. ([@koic][])Style/RedundantFormat
when a template argument is used without keyword arguments. ([@koic][])Style/RedundantFormat
when numeric placeholders is used in the template argument. ([@koic][])ArgumentError
related to two deprecatedAllowedPattern
APIs. ([@koic][])Lint/UselessConstantScoping
when multiple assigning to constants afterprivate
access modifier. ([@koic][])Lint/UselessConstantScoping
when a constant is used afterprivate
access modifier with arguments. ([@koic][])Changes
Style/RedundantFormat
as unsafe autocorrect. ([@koic][])v1.72.1
Compare Source
Bug fixes
Style/RedundantParentheses
when a different expression appears before a range literal. ([@koic][])Lint/RedundantTypeConversion
when passing block arguments when generating a Hash or a Set. ([@koic][])Changes
v1.72.0
Compare Source
New features
Lint/CopDirectiveSyntax
cop. ([@kyanagi][])Lint/SuppressedExceptionInNumberConversion
cop. ([@koic][])Lint/RedundantTypeConversion
cop. ([@dvandersluis][])Lint/UselessConstantScoping
cop. ([@koic][])Style/RedundantFormat
cop to check for uses offormat
orsprintf
with only a single string argument. ([@dvandersluis][])InternalAffairs/LocationExists
cop to check for code that can be replaced withNode#loc?
orNode#loc_is?
. ([@dvandersluis][])inherit_from
andrequire
for automatically restart. ([@koic][])Naming/PredicateName
: Optionally use Sorbet to detect predicate methods. ([@issyl0][])Bug fixes
Style/RedundantParentheses
when chaining[]
method calls. ([@koic][])Style/RedundantParentheses
when[]
method is called with variable or constant receivers. ([@koic][])Style/RedundantParentheses
when handling range literals with redundant parentheses. ([@koic][])Layout/EmptyLinesAroundMethodBody
for endless methods. ([@dvandersluis][])Lint/FormatParameterMismatch
when the width value is interpolated. ([@dvandersluis][])Layout/BlockAlignment
for blocks that are the body of an endless method. ([@dvandersluis][])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.