当前位置:
首页 >
eslint检测报错error Expected linebreaks to be 'LF' but found 'CRLF' linebreak-style
发布时间:2024/1/1
43
豆豆
生活随笔
收集整理的这篇文章主要介绍了
eslint检测报错error Expected linebreaks to be 'LF' but found 'CRLF' linebreak-style
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
问题描述:之前在 Ubuntu 系统下建立的项目,当拿到 window 系统下的时候,ESLint 报错了。
解决方案:
在.eslintrc文件 rules 里面 配置 "linebreak-style": [0 ,"error", "windows"], //允许windows开发环境总结
以上是生活随笔为你收集整理的eslint检测报错error Expected linebreaks to be 'LF' but found 'CRLF' linebreak-style的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: iamsujie的简要自我介绍 Earl
- 下一篇: Pushmail 今天你push了吗?