一、先看报错
文件中爆红,提示 Delete ␍eslintprettier/prettier

二、解决方案
项目根目录下,.prettierrc.js 文件中:
bash
endOfLine: 'auto',

三、重启VsCode
此时不在爆红,问题完美解决
