Answer the question
In order to leave comments, you need to log in
How to make eslint and es6 modules friends in Sublime Text 3?
Eslint swears at imports and spits out this error message: "illegal import declaration".
The funny thing is that if I run the same eslint, only through node js, then there are no errors.
Nobody faced? How to treat the plug disease?
my eslintrc:
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true
},
"rules": {
"strict": 0
},
"extends": ["standard", "standard-react"],
"ecmaFeatures": {
"modules": true
}
}
Answer the question
In order to leave comments, you need to log in
Either there is some old version of eslint in the sublime, or it reads the config from somewhere else.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question