当前位置:
首页 >
Configuration for rule “linebreak-style“ is invalid: Value “window“ should be equal
发布时间:2024/1/1
42
豆豆
生活随笔
收集整理的这篇文章主要介绍了
Configuration for rule “linebreak-style“ is invalid: Value “window“ should be equal
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
问题描述
ERROR in .eslintrc.js:Configuration for rule "linebreak-style" is invalid: Value "window" should be equal to one of the allowed values.出错的截图
当前我在.eslintrc.js中,处理LF和CRLF
解决方法
修改rules为
'linebreak-style': [0,'error','windows',],修改完成后,运行起来了,成功忽略了ESlint对LF和CRLF的检验规则
总结
以上是生活随笔为你收集整理的Configuration for rule “linebreak-style“ is invalid: Value “window“ should be equal的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: 射频识别(RFID)技术介绍
- 下一篇: matlab7.0下载 win7,mat