Closed wmontgomery-splunk closed 9 months ago
This just cleans up some Rubocop exclusions and fixes one offense.
The Naming/VariableNumber cop was resolved with this change: https://github.com/redis/redis-rb/commit/221fa474d888f938dfe7c1031c0093101832b912#diff-c88392b188437e96c61abfa18c6a946b25adb60979605f673fe1b855b0306be4L38
Naming/VariableNumber
The Lint/RedundantStringCoercion cop is resolved by not calling #to_s during string interpolation because it's called by default.
Lint/RedundantStringCoercion
#to_s
This just cleans up some Rubocop exclusions and fixes one offense.
The
Naming/VariableNumber
cop was resolved with this change: https://github.com/redis/redis-rb/commit/221fa474d888f938dfe7c1031c0093101832b912#diff-c88392b188437e96c61abfa18c6a946b25adb60979605f673fe1b855b0306be4L38The
Lint/RedundantStringCoercion
cop is resolved by not calling#to_s
during string interpolation because it's called by default.