Vue——Expected linebreaks to be ‘LF‘ but found ‘CRLF‘.eslintlinebreak-style

在项目的 package.json 文件中,找到 rules 模块,在其中添加一项键值对:

"linebreak-style": 0

在这里插入图片描述
ctrl+s 保存即可!

猜你喜欢

转载自blog.csdn.net/WU2629409421perfect/article/details/112474462