refactor: 📝 update docs

This commit is contained in:
Walid 2022-08-26 17:38:24 +01:00
parent d54c01ff0f
commit ef1ac6bb45
No known key found for this signature in database
GPG Key ID: 7DF9215FC4E48853

View File

@ -14,8 +14,19 @@ NPM ➜ npm install --save-dev eslint @walidoux/eslint-config
## Usage
Add it to your project inside `package.json`'s file.
Create a `.eslintrc` configuration and extend the base configuration.
```json
{ "eslint": "@walidoux/eslint-config" }
{ "extends": "@walidoux/eslint-config" }
```
When extending multiple configurations, keep the base configuration first.
```json
{
"extends": [
"@walidoux/eslint-config",
"other-sort-of-plugin"
]
}
```