standard / eslint-config-standard

ESLint Config for JavaScript Standard Style

Home Page:https://standardjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parsing error: Invalid ecmaVersion error while running lint

jainanuj0812 opened this issue · comments

What version of this package are you using?
14.1.0

What operating system, Node.js, and npm version?
Node :- 10.17.0
Npm :- 6.11.3

What happened?
linting fails getting following error

0:0 error Parsing error: Invalid ecmaVersion

What did you expect to happen?
should work fine

Are you willing to submit a pull request to fix this bug?

@jainanuj0812, you might need to check this ESlint blog if you are using a eslint-config-standard package version which uses ecmaVersion 2020 internally

update your ESlint package to v6.2.0 or the latest and you should be able to get rid of this issue