The keyword 'import' is reserved

Hi, so I thought adding a pre commit hook with husky might be a good idea for eslint. However after running npm run lint I am getting The keyword 'import' is reserved error. I have searched online here https://stackoverflow.com/questions/36002226/parsing-error-the-keyword-import-is-reserved-sublimelinter-contrib-eslint and have tried to and have tried to add add this screenshots code to _eslintrc.cjs but I am still running into the same error, I also tried removing comments in that file, still same error. Anyone know what might be the issue, thanks.
Stack Overflow
Parsing Error The Keyword import is Reserved (SublimeLinter-contrib...
I have a problem with eslint, it gives me [Parsing Error The keyword import is reserve] this is only occur in sublime, in atom editor work well. I have eslint .eslintrc.js module.exports = { "
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server