Add Performance/StringIdentifierArgument rule

It was added in rubocop-performance 1.13.0. We were already applying it
in most places.

We aren't adding it for performance reasons but in order to make the
code more consistent.
This commit is contained in:
Javi Martín
2022-08-26 23:47:57 +02:00
parent 5655702c49
commit efc46fe6c8
8 changed files with 14 additions and 11 deletions

View File

@@ -224,6 +224,9 @@ Performance/EndWith:
Performance/StartWith:
Enabled: true
Performance/StringIdentifierArgument:
Enabled: true
Performance/Sum:
Enabled: true