- Notifications
You must be signed in to change notification settings - Fork26
Open
Description
Sometimes when you are forced to initialize a variable (e.g. object destructuring to get the "rest" of the props) you want to ignore that variable. Using_ as the variable name is a convention taken from other languages (where it is sometimes more than just a convention). However,_ variables can trigger theno-shadow rule if you have nested uses.
We should upgrade ourno-shadow to use theallow prop as explained athttps://eslint.org/docs/rules/no-shadow#allow. We should allow any variables that are ignored underno-unused-vars.
Metadata
Metadata
Assignees
Labels
No labels