Get the App
SLTechnology News&Howtos  ›  Development  › 

How does vue turn off eslint code checking

Shulou Source: shulou.com Published: 2022-06-01 04:18:23 09月22日 Update

This article is about how vue turns off eslint code inspection. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Turn off eslint code checking

Many people say that the way to turn off eslint checking is to comment out this part of the build/webpack.base.conf.js file about the eslint configuration. I don't know if it's because of the update of the Vue-cli version, but in practice, this doesn't work.

The correct thing to do is to change the useEslint property of the dev object in the config/index.js file to false. The official comments also make it very clear.

Thank you for reading! This is the end of this article on "how vue shuts down eslint code inspection". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Tags: Check code content files more comments articles good practical clear practices official actual objects properties articles methods versions see knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Shulou Information Linux vpn NVidia