0.0.2 • Published 4 years ago

eslint-plugin-simon v0.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

eslint-plugin-simon

A loose collection of custom eslint rules borne out of convention (basically "Simon says 'Fix your code.'")

simon says

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-simon:

$ npm install eslint-plugin-simon --save-dev

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

Usage

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

{
    "plugins": [
        "simon"
    ]
}

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

{
    "rules": {
        "simon/style-import-order": 2
    }
}

Supported Rules