Skip to content

JuckZ/one-eslint

Repository files navigation

one-eslint

all in one

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-one:

npm install eslint-plugin-one --save-dev

Usage

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

{
    "plugins": [
        "one"
    ]
}

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

{
    "rules": {
        "one/rule-name": 2
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published