0.1.1 • Published 8 years ago

eslint-plugin-actually-clean-js v0.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

eslint-plugin-actually-clean-js

Write actually clean JS

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-actually-clean-js:

$ npm install eslint-plugin-actually-clean-js --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-actually-clean-js globally.

Usage

Add actually-clean-js to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "actually-clean-js"
    ]
}

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

{
    "rules": {
        "actually-clean-js/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here