#linebreaks

error: Expected linebreaks to be 'LF' but found 'CRLF'

error:Expectedlinebreakstobe'LF'butfound'CRLF'1.启用了eslint2.换行符不符合规则解决方式:设置换行的判断规则打开.eslintrc.jsrules:{'no-console':process.env.NODE_ENV==='production'?'error':'...