解决error delete ·CR· (prettier/prettier)

1.安装插件ESLint
解决error delete ·CR· (prettier/prettier)_第1张图片
2.找到左下角设置
解决error delete ·CR· (prettier/prettier)_第2张图片
3.点击工作区找到eslin 点击右上角的图标解决error delete ·CR· (prettier/prettier)_第3张图片
4.打开workspace.json在settings中写入代码
解决error delete ·CR· (prettier/prettier)_第4张图片
“editor.codeActionsOnSave”: {
“source.fixAll.eslint”: true
}
5.找到设置搜索行尾改成\n
解决error delete ·CR· (prettier/prettier)_第5张图片

你可能感兴趣的:(vue.js)