From 8da29fbcade57e37b26a19d8d383202625d48eba Mon Sep 17 00:00:00 2001 From: Amumu Date: Thu, 27 May 2021 14:09:31 +0800 Subject: [PATCH] docs: replace babel-eslint with @babel/eslint-parser (#159) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 33abfc8b..ef949251 100644 --- a/README.md +++ b/README.md @@ -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": [