首页 > 技术文章 > vue的cli项目禁用eslint

qlongbg 2020-05-26 11:14 原文

1. 新建vue.config.js文件

2. 配置vue.config.js

module.exports = {
  lintOnSave: false, //是否开启eslint保存检测 ,它的有效值为 true || false || 'error'
}

 

推荐阅读