Skip to content

Commit

Permalink
Added README section on use with eslint:reccomended preset
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-fidd committed Mar 1, 2022
1 parent a666cc6 commit 71fdb9b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,17 @@ Once the `@matt-fidd/eslint-config` package is installed, you can use it by addi
}
```

### Using this config in conjunction with `eslint:recommended`

To work properly, this rule set is designed to be used alongside the `eslint:reccommended` rule set. To do this, simply define them both inside the [`extends`](http://eslint.org/docs/user-guide/configuring#extending-configuration-files) section of your [ESLint configuration](http://eslint.org/docs/user-guide/configuring).

```js
{
...
"extends": [
"eslint:recommended",
"@matt-fidd"
],
...
}
```

0 comments on commit 71fdb9b

Please sign in to comment.