[eslint] Delete `CR` [prettier/prettier]
- 解决方案:
.eslintrc.js
中rules
添加:
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
]
参考的资料:Why do I keep getting Delete ‘cr’ [prettier/prettier]?
.eslintrc.js
中rules
添加:"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
]
参考的资料:Why do I keep getting Delete ‘cr’ [prettier/prettier]?