Open sagarpatke opened 7 years ago
Hi @sagarpatke . In your eslint config, you need to specify es6
in the parserOptions
:
{
"parserOptions": {
"ecmaVersion": 6
},
}
Let me know if that works for you.
Hi @rishson, I tried that, but the error still persists. I tried this with both the babel-eslint, and espree parsers.
@sagarpatke can you post your eslint config please so I can create a test case around it?
.eslintrc.js:
However, gulp-eslint plugin doesn't report any errors in the project with the same eslint configuration.