error: Expected linebreaks to be ‘LF’ but found ‘CRLF’
这就是eslint的报错了,可能是原作者用的事linux系统。只需在eslintrc文件里面将/*eslintlinebreak-style:["error","unix"]*/改成/*eslintlinebreak-style:["error","windows"]*/(我用的是windows):或者'linebreak-style':["off","windows"],如图:如果没有直接添加相