Skip to content

Commit

Permalink
Updates deprecated babel-eslint package to @babel/eslint-parser. (#70)
Browse files Browse the repository at this point in the history
* Updates deprecated babel-eslint package to @babel/eslint-parser.

* also add `@babel/core` to README

Co-authored-by: Pelle Wessman <pelle@kodfabrik.se>
  • Loading branch information
chsdwn and voxpelli committed Oct 28, 2022
1 parent 75ec58d commit 3f97984
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -34,14 +34,14 @@ 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-jsx eslint-config-standard-react eslint-plugin-promise eslint-plugin-import eslint-plugin-node eslint-plugin-react
npm install --save-dev @babel/core @babel/eslint-parser 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",
"parser": "@babel/eslint-parser",
"extends": ["standard", "standard-jsx", "standard-react"]
}
```
Expand Down

0 comments on commit 3f97984

Please sign in to comment.