Home  >  Article  >  Web Front-end  >  How to turn off ESLint in vue project

How to turn off ESLint in vue project

一个新手
一个新手Original
2017-09-27 09:57:464733browse

ESLint is a code detection tool used to identify ECMAScript and give reports according to rules. Use it to avoid low-level errors and unify the code style.

But sometimes ESLint errors prevent the program from running. At this time, we want to close this ESLint.

Turn off the ESLint method in the vue project: Find the ##build folder --->webpack.base.conf. js---->module

Comment out these codes, as shown in the picture:


Then restart the service,

npm run dev

That’s it.

The above is the detailed content of How to turn off ESLint in vue project. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn