[eslint] Delete `CR` [prettier/prettier]

  • 解决方案:.eslintrc.jsrules添加:
"prettier/prettier": [
  "error",
  {
    "endOfLine": "auto"
  }
]

参考的资料:Why do I keep getting Delete ‘cr’ [prettier/prettier]?

posted @ 2024-06-26 09:37  卑面派对  阅读(30)  评论(0编辑  收藏  举报