prefer-array-find
rule autofixer could singularize variable name
#822
Labels
prefer-array-find
rule autofixer could singularize variable name
#822
The autofixer for prefer-array-find could be updated to singularize the variable name since the variable now refers to a single item instead of an array in the following situation.
Before:
After autofix (current):
After autofix (desired):
This fix would be similar to the singularization performed in the
no-for-loop
rule as a result of #745.The text was updated successfully, but these errors were encountered: