Home > Web Front-end > JS Tutorial > body text

How to turn off ESLint in vue project

一个新手
Release: 2017-09-27 09:57:46
Original
4748 people have browsed it

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template