Skip to content

Commit

Permalink
docs: add instructions for install standard-jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Oct 29, 2020
1 parent 35452c9 commit 76c24a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ provided in `eslint-config-standard`.
Here's how to install everything you need:

```bash
npm install --save-dev babel-eslint eslint-config-standard eslint-config-standard-react eslint-plugin-promise eslint-plugin-import eslint-plugin-node eslint-plugin-react
npm install --save-dev babel-eslint eslint-config-standard eslint-config-standard-jsx eslint-config-standard-react eslint-plugin-promise eslint-plugin-import eslint-plugin-node eslint-plugin-react
```

Then, add this to your `.eslintrc` file:

```
{
"parser": "babel-eslint",
"extends": ["standard", "standard-react"]
"extends": ["standard", "standard-jsx", "standard-react"]
}
```

Expand Down

0 comments on commit 76c24a9

Please sign in to comment.