Using vue-cli to do projects in vscode, errors are reported frequently, resulting in interference, how to shield

I used vue-cli in vscode to do the project, and found that after npm run dev (the template I used for vue-cli2.x), every time I modified the code, the habitual ctrl+s saved. If there is a problem in the code, an error prompt box will pop up automatically at the top right of the editor, and the most annoying will be accompanied by the system sound.

how can I block this error (at least block the sound of the system when reporting an error)?


Click the upper left corner: Code-> preferences-> Settings-> user Settings-> Features-> questions-> check (display errors and warnings about files and folders)


Eslint report errors. Just turn off eslint.
but eslint can have a good specification code and appropriate suggestions. Look at the relevant code specifications. It's good for you, too.


is there any plug-in installed? Uninstall


if it is Eslint format check error, please see: vscode saves the code automatically according to the eslint specification formatting code
there are ctrl+s automatically save format settings, and there is a way to turn off eslint check.

also, in User Settings of vscode , set: "vetur.validation.template": false, see Linting / Error Checking

.

Hot updates are like this

Menu