0.0.1 • Published 2 years ago
eslint-plugin-deadexport v0.0.1
eslint-plugin-deadexport
Find out the dead export variables
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-deadexport:
npm install eslint-plugin-deadexport --save-devUsage
Add deadexport to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": ["deadexport"]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"deadexport/no-unused-exported-vars": "error"
}
}Rules
TODO: Run eslint-doc-generator to generate the rules list.
0.0.1
2 years ago