In rubocop-performance v1.7.0 several new cops were introduced:
Performance/RedundantStringChars
Performance/IoReadlines
Performance/ReverseFirst
Performance/RedundantSortBlock
Performance/Squeeze
Performance/BigDecimalWithNumericArgument
Performance/SortReverse
Performance/StringInclude
Performance/AncestorsInclude
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.
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:This PR updates rubocop-performance version to v1.7.0. There seem to be no breaking changes that may affect compatibility.