我在.editorconfig
、.prettierrc
、.eslintrc
中设置了类似quote_type = single
的内容
// workspace
// .vscode/settings.json
{
"editor.codeActionsOnSave": {
"source.fixAll": true,
},
"typescript.format.enable": false,//did not work
}
问题:如何禁用typescript.format中的VS代码构建并使更漂亮的规则有效
您可以在您的vscode设置中尝试此操作
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},