解决Delete ␍eslintprettier/prettier
添加 "vetur.format.defaultFormatter.js": "vscode-typescript",
最后从新跑项目,后面出现2个报错,解决方法:
中项目中找到.eslintrc.js文件的rules里添加如下代码:文章来源:https://www.toymoban.com/news/detail-720180.html
//Component name "index" should always be multi-word报错
添加:"vue/multi-word-component-names": "off", //关闭组件命名规则
//Replace `············` with `······`报错
"prettier/prettier": "off"
文章来源地址https://www.toymoban.com/news/detail-720180.html
到了这里,关于Delete `␍`eslintprettier/prettier亲测有效(含 Replace `············` with `······`报错)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!