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
.eslintr
I found this issue while creating the vue project (Used Editor: Visual Code)
Install babel-eslint package -> npm install babel-eslint
Create the .eslintrc.js file and add below code
module.exports = {
root: true,
parserOptions: {
'sourceType': 'module',
parser: 'babel-eslint'
}
}
=> npm run serve, that error will be resolved like magic.