js关闭eslint检查
时间: 2023-09-09 13:09:16 浏览: 108
要关闭eslint检查,可以采用多种方法。其中一种方法是在项目的package.json文件中删除相关依赖,并重启服务。具体操作是找到工程目录下的package.json文件,进入"devDependencies"字段中删除与eslint相关的依赖,然后执行npm install命令,并重新启动服务。这样做会导致.eslintrc.js文件的作用失效。如果需要重新启用eslint检查,可以重新安装相应的依赖包。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [vue 如何关闭 eslint 检查](https://blog.csdn.net/qq407949480/article/details/112802114)[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^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* [vue.config.js关闭ESLINT检测](https://blog.csdn.net/qq_41177135/article/details/130825854)[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^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文