Underscore variable currently ignored if used as a function argument. I'd like to add an exception to no-unused-vars for the cases where underscore used as a variable name:
const [_, desired] = arr;
Motivation and Context
Stumbled upon a case
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
Underscore variable currently ignored if used as a function argument. I'd like to add an exception to
no-unused-vars
for the cases where underscore used as a variable name:Motivation and Context
Stumbled upon a case
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: