-
-
Couldn't load subscription status.
- Fork 6.3k
Closed
Labels
Description
Version
3.0.0-beta.6
Reproduction link
https://github.com/yangmingshan/vue-cli-demo
Steps to reproduce
If use import() ESLint will show error message [eslint] Parsing error: Unexpected token import in VS Code, but npm run lint is ok, don't know why.
What is expected?
ESLint can parse experimental syntax
What is actually happening?
ESLint can't parse experimental syntax
eslint-config-prettier eslint-config-standard eslint-config-airbnb both use default parser which can't parse experimental syntax like import() for now, use babel-eslint can solve this problem.
Is this on purpose or a mistake?
If this is a mistake, I'm happy to open a PR 😜