You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By including the parserOptions as we do when we create an actual eslint config for normal projects, we get ESnext support for eslint during `vue serve`
Version
3.0.4
Reproduction link
https://gist.github.com/LinusBorg/e22ecd83a46a101840938dbc18d60bd2
Node and OS info
Node 10.8.0, npm 6.4.1
Steps to reproduce
index.vue
filevue serve index.vue
What is expected?
Prototype app is served without any errrors or warnings
What is actually happening?
The app is served correctly, but we get eslint warnings in the console about
async
being an unexpected token:The problem is that cli-service-global injects a baseconfig for eslint-loader, and this config doesn't include:
I'll submit a PR for this in a second.
The text was updated successfully, but these errors were encountered: