vue-cli4版本解决eslint问题 1、在webstrom中取消eslint的勾选 方法如下图所示: 2、去除package.js文件中所有与eslint相关的插件 3、删除node_module文件夹 4、npm install,成功。