Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/juckz/one-eslint


https://github.com/juckz/one-eslint

Last synced: 18 days ago
JSON representation

Awesome Lists containing this project

README

        

# one-eslint

all in one

## Installation

You'll first need to install [ESLint](https://eslint.org/):

```sh
npm i eslint --save-dev
```

Next, install `eslint-plugin-one`:

```sh
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:

```json
{
"plugins": [
"one"
]
}
```

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

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