Eslint plugin that creates a list of undefined variables
npm install eslint-plugin-declare-undef-varsGet list of the undefined variables
You'll first need to install ESLint:
``sh`
npm i eslint --save-dev
Next, install eslint-plugin-declare-undef-vars:
`sh`
npm install eslint-plugin-declare-undef-vars --save-dev
Add declare-undef-vars to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
`json`
{
"plugins": [
"declare-undef-vars"
]
}
Then configure the rules you want to use under the rules section.
`json``
{
"rules": {
"declare-undef-vars/rule-name": 2
}
}
TODO: Run eslint-doc-generator to generate the rules list.