npm run dev :error Expected linebreaks to be 'CRLF' but found 'LF' linebreak-style解决

编辑根目录.eslintrc文件 rules 属性

“linebreak-style”属性设为[0,”error”, “windows”]

"rules": {
    "linebreak-style": [0,"error", "windows"],
}
我的错误截图

这里写图片描述

猜你喜欢

转载自blog.csdn.net/wq18512847606/article/details/80847751