@igneel64/eslint-plugin-dangerous

0.0.4 • Public • Published

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-dev

Next, install @igneel64/eslint-plugin-dangerous:

$ npm install @igneel64/eslint-plugin-dangerous --save-dev

Note: 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
    }
}

Package Sidebar

Install

npm i @igneel64/eslint-plugin-dangerous

Weekly Downloads

2

Version

0.0.4

License

MIT

Unpacked Size

15.1 kB

Total Files

13

Last publish

Collaborators

  • igneel64