发布于 5年前
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"],
}
编辑根目录 .eslintrc
文件 rules
属性,将 linebreak-style
属性设为 [0,”error”, “windows”]
"rules": {
"linebreak-style": [0,"error", "windows"],
}