The vue-element-admin project closes eslint verification

The thing is like this, I reported an error when I started the project today, and the error is almost like this

, as we all know, ESLint is a code specification and error checking tool. The specification of the syntax format of the code is quite strict. I forgot where I wrote the code and there was a problem, but now it is very troublesome if I can’t start it directly.

Only turn off the eslint verification first, start the project first, and the rest are just clouds.

 ...

You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.

Solution:

very simple and rude;

Set lintOnSave to fasle in vue.config.js

As shown below:

Re-execute the command to run it

Guess you like

Origin blog.csdn.net/snow_living/article/details/129355563