ESLint is throwing a Parsing error: Unexpected token = error when I try to lint my Es6 classes. What configuration parameter am I missing to enable fat arrow c
Parsing error: Unexpected token =
First install babel-eslint:
babel-eslint
npm i -D babel-eslint
Then add the following to your .eslintrc.json file:
.eslintrc.json
"parser": "babel-eslint"