摘要: # eslint不检测指定文件或文件夹在项目根目录新建`.eslintignore`文件,将不想应用eslint规则的文件或文件夹加在里面,规则和`.gitignore`类似,比如项目中有iconfont.js不想应用eslint,我可以这么写:> **/iconfont.js[参考eslint官网](http://eslint.cn/docs/user-guide/configuring#ign... 阅读全文
posted @ 2019-03-13 15:38 cococe 阅读(6684) 评论(0) 推荐(0) 编辑