Prettier 格式化无效
文件 -> 首选项 -> 设置 -> settings.json
{
"typescript.preferences.quoteStyle": "single",
"editor.tabSize": 2,
"[typescript]": {"editor.defaultFormatter": "esbenp.prettier-vscode"},
"prettier.requireConfig": false,
"prettier.singleQuote": true,
"editor.formatOnSave": true,
"editor.detectIndentation": false,
"editor.formatOnSave": true,
"files.associations": {}}
这个改为 false 生效