Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juckz/one-eslint
https://github.com/juckz/one-eslint
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/juckz/one-eslint
- Owner: JuckZ
- Created: 2023-09-08T11:01:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-26T12:13:44.000Z (over 1 year ago)
- Last Synced: 2024-11-05T02:42:25.309Z (2 months ago)
- Language: JavaScript
- Size: 194 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
}
}
```