Vue3关闭eslint
时间: 2023-09-09 18:09:16 浏览: 103
vue项目关闭eslint校验
在Vue3中关闭ESLint可以通过配置vue.config.js文件来实现。你可以将以下代码添加到vue.config.js文件中来关闭ESLint:
```
module.exports = {
lintOnSave: false
}
```
这样配置后,ESLint将不再对你的代码进行检查,从而关闭ESLint。请注意,这种方式只适用于Vue CLI创建的项目。如果你是通过其他方式创建的Vue3项目,你可能需要查找相应的配置文件来关闭ESLint。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [vue3正确关闭eslint的步骤](https://blog.csdn.net/weixin_48772762/article/details/126242151)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [vue3.0如何关闭eslint校验的三种方法](https://blog.csdn.net/qq_66180056/article/details/129320108)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文