Vue 单独安装eslint 和卸载eslint
Vue 单独安装eslint 和卸载eslintMW0309安装的时候进入到你的项目目录中执行npm install eslint --save1卸载的时候进入到你的项目目录中执行npm uninstall eslint --save
·
Vue 单独安装eslint 和卸载eslint
安装的时候进入到你的项目目录中执行
npm install eslint --save
卸载的时候进入到你的项目目录中执行
npm uninstall eslint --save
1.关闭软件webstorm 的ESlint
file->settings->搜索ESlint->取消Enable的勾选
2.注释掉项目内的ESlint
index.js
// Use Eslint Loader?
// If true, your code will be linted during bundling and
// linting errors and warnings will be shown in the console.
useEslint: false,
// If true, eslint errors and warnings will also be shown in the error overlay
// in the browser.
showEslintErrorsInOverlay: false,
项目目录下build.js->webpack.base.conf.js文件里面有段代码 注释掉!!!
好了!特别清爽的感觉!
更多推荐
已为社区贡献20条内容
所有评论(0)