Skip to content

Xiaobo2020/eslint-plugin-deadexport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-deadexport

Find out the dead export variables

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-deadexport:

npm install eslint-plugin-deadexport --save-dev

Usage

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published