Delete `␍`eslintprettier/prettier亲测有效(含 Replace `············` with `······`报错)

解决Delete eslintprettier/prettier

Delete `␍`eslintprettier/prettier亲测有效(含 Replace `············` with `······`报错)_第1张图片

Delete `␍`eslintprettier/prettier亲测有效(含 Replace `············` with `······`报错)_第2张图片
添加 "vetur.format.defaultFormatter.js": "vscode-typescript",
Delete `␍`eslintprettier/prettier亲测有效(含 Replace `············` with `······`报错)_第3张图片
最后从新跑项目,后面出现2个报错,解决方法:
中项目中找到.eslintrc.js文件的rules里添加如下代码:

//Component name "index" should always be multi-word报错
添加:"vue/multi-word-component-names": "off", //关闭组件命名规则
//Replace `············` with `······`报错
"prettier/prettier": "off"

Delete `␍`eslintprettier/prettier亲测有效(含 Replace `············` with `······`报错)_第4张图片

你可能感兴趣的:(vue.js,javascript,前端)