vscode中如何配置prettier

{
  "workbench.startupEditor": "none",
  "files.eol": "\n",
  "[html]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[css]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[scss]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[json]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[vue]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "js/ts.implicitProjectConfig.experimentalDecorators": true,
  "vetur.format.options.tabSize": 2,
  "explorer.confirmDelete": false,
  "editor.multiCursorModifier": "ctrlCmd",
  "editor.guides.bracketPairs": true,
  "editor.codeActionsOnSave": {
    // 保存时使用 ESLint 修复可修复错误
    "source.fixAll": true,
    "source.fixAll.eslint": true
  },

  "git.openRepositoryInParentFolders": "always",

  "eslint.quiet": false, // 忽略 warning 的错误
  "[html]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[css]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[scss]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[json]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[vue]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "prettier.enable": true,
  "prettier.printWidth": 500,
  "prettier.tabWidth": 2,
  "prettier.useTabs": false,
  "prettier.semi": false,
  "prettier.trailingComma": "none",
  "prettier.singleQuote": true,
  "prettier.jsxSingleQuote": false,
  "prettier.bracketSpacing": true,
  "prettier.arrowParens": "always",
  "prettier.htmlWhitespaceSensitivity": "strict",
  "prettier.singleAttributePerLine": false,
  "prettier.bracketSameLine": true,
  "prettier.endOfLine": "lf",
  "prettier.proseWrap": "always",
  "prettier.quoteProps": "as-needed",
  "prettier.embeddedLanguageFormatting": "auto",
  "prettier.vueIndentScriptAndStyle": false,
  "prettier.withNodeModules": true,
  "prettier.useEditorConfig": false,
  // "prettier.insertPragma": false,
  // "prettier.requirePragma": false,
  // "prettier.enableDebugLogs": true,
  // "prettier.requireConfig": false,
  // "prettier.configPath": "D:/ESlint/.prettierrc",
  // "prettier.ignorePath": ".prettierignore"
}