Licence
ISC
Version
0.0.2
Deps
1
Size
6 kB
Vulns
0
Weekly
0
eslint-plugin-eslint-file-description
A plugin to lint for a descriptive comment that tells what's the purpose of the file
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-eslint-file-description:
npm install @abdulrehmanmehar/eslint-file-description --save-dev
Usage
Add @abdulrehmanmehar/eslint-file-description to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"@abdulrehmanmehar/eslint-file-description"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"@abdulrehmanmehar/eslint-file-description/eslint-file-description/file-description": 2
}
}
Supported Rules
- Fill in provided rules here
file-description