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?, and end_with? in Lint/OutOfRangeRegexpRef. (@eugeneius)
    • ๐Ÿ‘• #8466: Fix a false positive for Lint/UriRegexp when using regexp 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 and Style/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

    • ๐Ÿ’… #8487: Detect < and > as comparison operators in Style/ConditionalAssignment cop. (@biinari)