{
  // 禁用 prettier，使用 eslint 的代码格式化
  "prettier.enable": false,
  // 保存时自动格式化
  "editor.formatOnSave": false,
  // 保存时自动修复
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "explicit",
    "source.organizeImports": "never"
  },
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact",
    "vue",
    "html",
    "markdown",
    "json",
    "jsonc",
    "yaml"
  ],
  // 消除json文件中的注释警告
  "files.associations": {
    "manifest.json": "jsonc",
    "pages.json": "jsonc"
  },
  // 消除Unknown at rule @apply警告
  "css.customData": [
    ".vscode/unocss.json"
  ],
  "i18n-ally.localesPaths": [
    "src/locales",
    "src/locales/langs"
  ]
}
