eslint检测报错error Expected linebreaks to be 'LF' but found 'CRLF' linebreak-style
生活随笔
收集整理的這篇文章主要介紹了
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了吗?