wepy框架关闭Eslint语法校验(error More than 1 blank line not allowed no-multiple-empty-lines)

最近在学习使用wepy框架制作小程序,导入编译的项目后报如下错误(error  More than 1 blank line not allowed  no-multiple-empty-lines

 

 

解决办法:编译项目之前,在文件wepy.config.js中

设置参数eslint: false,编译完成后导入微信开发者工具,项目恢复正常

 

posted @ 2019-10-10 00:04  晴空~万里  阅读(4053)  评论(1编辑  收藏  举报