Update rubocop in / from 0.52.1 to 0.54.0 #106
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.
Dependencies.io has updated
rubocop
(a rubygems dependency in/
) from "0.52.1" to "0.54.0".0.54.0
New features
Rails/HttpStatus
cop. (anthony-robin)Style/UnpackFirst
cop. (bdewater)Bug fixes
Naming/UncommunicativeXParamName
cops. (jlfaber)Layout/ElseAlignment
forrescue/else/ensure
insidedo/end
blocks. (YukiJikumaru)Style/Documentation
:nodoc:
for compact-style nested modules/classes. (ojab)Bundler/OrderedGems
when a group includes duplicate gems. (colorbox)--fail-fast
. (mmyoji)Style/FormatStringToken
when using placeholder arguments informat
method. (koic)Style/InverseMethods
when comparing constants with<
,>
,<=
, or>=
. If the code is being used to determine class hierarchy, the correction might not be accurate. (rrosenblum)Style/TrivialAccessors
auto-correction fordef
withprivate
. (pocke)Style/SafeNavigation
does not auto-correct all chained methods resulting in aLint/SafeNavigationChain
offense. (rrosenblum)UncommunicativeName
cops. (pocke)Layout/EmptyComment
when the empty comment appears on the same line as code. (rrosenblum)Style/EmptyLineAfterGuardClause
when guard clause is beforerescue
orensure
. (koic)Style/EmptyLineAfterGuardClause
when guard clause is beforeelse
. (koic)Naming/ConstantName
when using conditional assignment. (drenmi)Changes
Naming/UncommunicativeMethodParamName
addto
to allowed names in default config. (unused)--debug
. (jonas054)Layout/SpaceInsideArrayLiteralBrackets
when contains an array literal as an argument after a heredoc is started. (koic)<<~
operator with invalid indentation. (hamada14)gems.locked
orGemfile.lock
to determine the bestTargetRubyVersion
when it is not specified in the config. (roberts1000)Style/InlineComment
for inline comments which enable or disable rubocop cops. (jfelchner)IndentHeredoc
message for Ruby 2.3 when using<<~
operator with invalid indentation. (hamada14)