codeclimate / codeclimate-rubocop

Code Climate Engine for Rubocop
MIT License
59 stars 43 forks source link

[channel-0.87] Update rubocop-performance to v1.7.0 #246

Closed arg closed 4 years ago

arg commented 4 years ago

In rubocop-performance v1.7.0 several new cops were introduced:

I have enabled them all in .rubocop.yml but since v1.6.1 is currently used, now I get this warning message in CodeClimate's Rubocop output:

unrecognized cop Performance/AncestorsInclude found in .rubocop.yml, unrecognized cop Performance/BigDecimalWithNumericArgument found in .rubocop.yml, unrecognized cop Performance/IoReadlines found in .rubocop.yml, unrecognized cop Performance/RedundantSortBlock found in .rubocop.yml, unrecognized cop Performance/RedundantStringChars found in .rubocop.yml, unrecognized cop Performance/ReverseFirst found in .rubocop.yml, unrecognized cop Performance/SortReverse found in .rubocop.yml, unrecognized cop Performance/Squeeze found in .rubocop.yml, unrecognized cop Performance/StringInclude found in .rubocop.yml

This PR updates rubocop-performance version to v1.7.0. There seem to be no breaking changes that may affect compatibility.