@igneel64/eslint-plugin-dangerous
v0.0.4
Published
This plugin is made to let you know of some of JavaScript's quirks that might lead to headaches later on in your program.
Maintainers
Readme
eslint-plugin-dangerous
This plugin is made to let you know of some of JavaScript's quirks that might lead to headaches later on in your program.
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install @igneel64/eslint-plugin-dangerous:
$ npm install @igneel64/eslint-plugin-dangerous --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install @igneel64/eslint-plugin-dangerous globally.
Usage
Add dangerous to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"@igneel64/dangerous"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"@igneel64/dangerous/write-for-humans": 2
}
}