npm.io
0.0.2 • Published 5 years ago

eslint-plugin-commented-exports

Licence
ISC
Version
0.0.2
Deps
1
Size
5 kB
Vulns
0
Weekly
0

eslint-plugin-commented-exports

Forces exports to be commented

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-eslint-commented-exports:

$ npm install eslint-plugin-eslint-commented-exports --save-dev

Usage

Add eslint-plugin-commented-exports to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["eslint-plugin-commented-exports"]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "eslint-plugin-commented-exports/rule-name": 2
  }
}

Supported Rules

  • Fill in provided rules here

Keywords