async function is normalBut eslint will report an erroreslint version is 3.19.0How to configure it, you can ignore the error
npm install babel-eslint --save-dev
at eslint的配置文件中增加"parser": "babel-eslint"
eslint
"parser": "babel-eslint"
at
eslint
的配置文件中增加"parser": "babel-eslint"