error Expected linebreaks to be 'LF' but found 'CRLF' linebreak-style

1.7 运行报错

error Expected linebreaks to be 'LF' but found 'CRLF' linebreak-style

解决方法

eslintrc.js  ->》rules
  rules: {

    "linebreak-style": [0 ,"error", "windows"],
  },
posted @ 2021-08-11 17:11  成强  阅读(449)  评论(0编辑  收藏  举报