Skip to content

Commit 3f97984

Browse files
chsdwnvoxpelli
andauthored
Updates deprecated babel-eslint package to @babel/eslint-parser. (#70)
* Updates deprecated babel-eslint package to @babel/eslint-parser. * also add `@babel/core` to README Co-authored-by: Pelle Wessman <[email protected]>
1 parent 75ec58d commit 3f97984

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ provided in `eslint-config-standard`.
3434
Here's how to install everything you need:
3535

3636
```bash
37-
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
37+
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
3838
```
3939

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

4242
```
4343
{
44-
"parser": "babel-eslint",
44+
"parser": "@babel/eslint-parser",
4545
"extends": ["standard", "standard-jsx", "standard-react"]
4646
}
4747
```

0 commit comments

Comments
 (0)