{
  // Enable the ESlint flat config support
  "eslint.experimental.useFlatConfig": true,

  // Disable the default formatter, use eslint instead
  "prettier.enable": false,
  "editor.formatOnSave": false,

  // Auto fix
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "explicit",
    "source.organizeImports": "never"
  },

  // Silent the stylistic rules in you IDE, but still auto fix them
  "eslint.rules.customizations": [
    { "rule": "style/*", "severity": "off", "fixable": true },
    { "rule": "format/*", "severity": "off", "fixable": true },
    { "rule": "*-indent", "severity": "off", "fixable": true },
    { "rule": "*-spacing", "severity": "off", "fixable": true },
    { "rule": "*-spaces", "severity": "off", "fixable": true },
    { "rule": "*-order", "severity": "off", "fixable": true },
    { "rule": "*-dangle", "severity": "off", "fixable": true },
    { "rule": "*-newline", "severity": "off", "fixable": true },
    { "rule": "*quotes", "severity": "off", "fixable": true },
    { "rule": "*semi", "severity": "off", "fixable": true }
  ],

  // Enable eslint for all supported languages
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact",
    "vue",
    "html",
    "markdown",
    "json",
    "jsonc",
    "yaml",
    "toml",
    "xml",
    "gql",
    "graphql",
    "astro",
    "css",
    "less",
    "scss",
    "pcss",
    "postcss"
  ],

  "cSpell.words": [
    "antfu",
    "Attributify",
    "automator",
    "autoscan",
    "Cascader",
    "commitlint",
    "dcloudio",
    "degit",
    "easycom",
    "kuaishou",
    "lninl",
    "luch",
    "Parens",
    "persistedstate",
    "qrcode",
    "quickapp",
    "refresherrefresh",
    "scrolltolower",
    "secondarycomponent",
    "secondarycontainer",
    "stacktracey",
    "stylelint",
    "Swiper",
    "tabbar",
    "TOUTIAO",
    "uniapp",
    "unocss",
    "unplugin",
    "weapp",
    "WechatMiniprogram"
  ],

  "search.exclude": {
    "**/node_modules": false
  },
  "i18n-ally.localesPaths": [
    "src/locale"
  ],
  "unot.switchMagic": false
}
