Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)

.eslintrc里面添加配置

‘linebreak-style’:[“error”, “windows”]
点赞