Open
Description
Version
3.0.0-rc.3
Reproduction link
https://github.com/acgotaku/vue-cli-issue
Node and OS info
yarn 1.9.4 node 8.11.3 Archlinux
Steps to reproduce
First , clone repo and run yarn serve
command to start project.
after, uncomment https://github.com/acgotaku/vue-cli-issue/blob/master/src/components/HelloWorld.vue#L35
console.log(msg)
the terminal will output error: Unexpected console statement (no-console)
But if you stop yarn serve
command and run again, the eslint error will disappear.
What is expected?
Only production mode output on console eslint error.
What is actually happening?
Add console.log to file will trigger eslint error.
But if you rerun the command,the eslint error will disappear.