Skip to content

Commit

Permalink
Update exported configurations documentation in Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick Croissant committed Nov 1, 2016
1 parent 7f81819 commit 7d4ad88
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,6 @@ To enable this configuration use the `extends` property in your `.eslintrc` conf

```js
{
"plugins": [
"react"
],
"extends": ["eslint:recommended", "plugin:react/recommended"]
}
```
Expand All @@ -177,8 +174,6 @@ The rules enabled in this configuration are:
* [react/react-in-jsx-scope](docs/rules/react-in-jsx-scope.md)
* [react/require-render-return](docs/rules/require-render-return.md)

**Note**: This configuration will also enable JSX in [parser options](http://eslint.org/docs/user-guide/configuring#specifying-parser-options).

## All

This plugin also exports an `all` configuration that includes every available rule.
Expand All @@ -193,6 +188,8 @@ This pairs well with the `eslint:all` rule.
}
```

**Note**: These configurations will import `eslint-plugin-react` and enable JSX in [parser options](http://eslint.org/docs/user-guide/configuring#specifying-parser-options).

# License

ESLint-plugin-React is licensed under the [MIT License](http://www.opensource.org/licenses/mit-license.php).
Expand Down

0 comments on commit 7d4ad88

Please sign in to comment.