Parsing error: Invalid ecmaVersion error while running lint
jainanuj0812 opened this issue · comments
Anuj Jain commented
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?
Shahar "Dawn" Or commented
Could you please provide your eslint config file and eslint version?
…On Thu, 6 Feb 2020, 13:18 Anuj Jain, ***@***.***> wrote:
*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?*
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#162?email_source=notifications&email_token=AAE3FRZVC7LC3GOCNRJLAK3RBOTUTA5CNFSM4KQXH2P2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILNGE2A>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE3FR6W4RRQVJQPWM7E3ETRBOTUTANCNFSM4KQXH2PQ>
.
ravindra-clairvoyant commented
@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
Anuj Jain commented
@ravindra-clairvoyant Thanks!