Rubocop v0.89.1 Release Notes
Release Date: 2020-08-10 // over 3 years ago-
๐ Bug fixes
- ๐ #8463: Fix false positives for
Lint/OutOfRangeRegexpRef
when a regexp is defined and matched in separate steps. (@eugeneius) - #8464: Handle regexps matched with
when
,grep
,gsub
,gsub!
,sub
,sub!
,[]
,slice
,slice!
,scan
,index
,rindex
,partition
,rpartition
,start_with?
, andend_with?
inLint/OutOfRangeRegexpRef
. (@eugeneius) - ๐ #8466: Fix a false positive for
Lint/UriRegexp
when usingregexp
method without receiver. (@koic) - ๐ #8478: Relax
Lint/BinaryOperatorWithIdenticalOperands
for mathematical operations. (@marcandre) - ๐ #8480: Tweak callback list of
Lint/MissingSuper
. (@marcandre) - ๐
#8481: Fix autocorrect for elements with newlines in
Style/SymbolArray
andStyle/WordArray
. (@biinari) - ๐
#8475: Fix a false positive for
Style/HashAsLastArrayItem
when there are duplicate hashes in the array. (@wcmonty) - ๐
#8497: Fix
Style/IfUnlessModifier
to add parentheses when converting if-end condition inside a parenthesized method argument list. (@dsavochkin)
๐ Changes
- ๐ #8463: Fix false positives for