使用vue-cli的时候采用eslint模式的时候,webpack格式化的时候,出现代码变红,报错, http://eslint.org/docs/rules/indent Expected indentation
image.pngimage.png遇到这个问题,不要慌,在.eslinkrc.js文件的rules中配置‘indent’:0rules:{//allowasync-await'generator-star-spacing':'off',//allowdebuggerduringdevelopment'no-debugger':process.env.NODE_ENV==='production'