Skip to content

Commit

Permalink
docs: replace babel-eslint with @babel/eslint-parser (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyo837 authored May 27, 2021
1 parent 39da5da commit 8da29fb
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 @@ -41,13 +41,13 @@ $ yarn add -D eslint
## Full example

A full example `.eslintrc` for a project with babel support:
> Dont forget to `npm i -D babel-eslint` or `yarn add -D babel-eslint`
> Dont forget to `npm i -D @babel/eslint-parser` or `yarn add -D @babel/eslint-parser`
```json
{
"root": true,
"parserOptions": {
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"sourceType": "module"
},
"extends": [
Expand Down

0 comments on commit 8da29fb

Please # to comment.