settings.json 3.4 KB
Newer Older
V
vben 已提交
1 2
{
  "typescript.tsdk": "./node_modules/typescript/lib",
V
Vben 已提交
3
  "typescript.enablePromptUseWorkspaceTsdk": true,
V
vben 已提交
4 5
  "volar.tsPlugin": true,
  "volar.tsPluginStatus": false,
V
vben 已提交
6 7 8
  //===========================================
  //============= Editor ======================
  //===========================================
9
  "editor.tabSize": 2,
V
Vben 已提交
10
  "editor.defaultFormatter": "esbenp.prettier-vscode",
V
vben 已提交
11 12 13
  //===========================================
  //============= files =======================
  //===========================================
14
  "files.eol": "\n",
V
vben 已提交
15 16 17 18 19 20 21 22 23 24 25 26 27 28
  "search.exclude": {
    "**/node_modules": true,
    "**/*.log": true,
    "**/*.log*": true,
    "**/bower_components": true,
    "**/dist": true,
    "**/elehukouben": true,
    "**/.git": true,
    "**/.gitignore": true,
    "**/.svn": true,
    "**/.DS_Store": true,
    "**/.idea": true,
    "**/.vscode": false,
    "**/yarn.lock": true,
V
vben 已提交
29 30 31 32 33 34 35
    "**/tmp": true,
    "out": true,
    "dist": true,
    "node_modules": true,
    "CHANGELOG.md": true,
    "examples": true,
    "res": true,
V
Vben 已提交
36 37 38
    "screenshots": true,
    "yarn-error.log": true,
    "**/.yarn": true
V
vben 已提交
39 40
  },
  "files.exclude": {
V
Vben 已提交
41 42 43
    "**/.cache": true,
    "**/.editorconfig": true,
    "**/.eslintcache": true,
V
vben 已提交
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
    "**/bower_components": true,
    "**/.idea": true,
    "**/tmp": true,
    "**/.git": true,
    "**/.svn": true,
    "**/.hg": true,
    "**/CVS": true,
    "**/.DS_Store": true
  },
  "files.watcherExclude": {
    "**/.git/objects/**": true,
    "**/.git/subtree-cache/**": true,
    "**/.vscode/**": true,
    "**/node_modules/**": true,
    "**/tmp/**": true,
    "**/bower_components/**": true,
    "**/dist/**": true,
    "**/yarn.lock": true
  },
  "stylelint.enable": true,
  "stylelint.packageManager": "yarn",
  "path-intellisense.mappings": {
    "/@/": "${workspaceRoot}/src"
  },
  "[javascriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[typescript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[typescriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[html]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[css]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[less]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[scss]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[markdown]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
V
vben 已提交
94
  },
95 96 97 98 99
  "[vue]": {
    "editor.codeActionsOnSave": {
      "source.fixAll.eslint": false
    }
  },
100
  "i18n-ally.localesPaths": ["src/locales/lang"],
V
vben 已提交
101 102 103
  "i18n-ally.keystyle": "nested",
  "i18n-ally.sortKeys": true,
  "i18n-ally.namespace": true,
V
vben 已提交
104
  "i18n-ally.pathMatcher": "{locale}/{namespaces}.{ext}",
105
  "i18n-ally.enabledParsers": ["ts"],
V
Vben 已提交
106
  "i18n-ally.sourceLanguage": "en",
无木 已提交
107
  "i18n-ally.displayLanguage": "zh-CN",
V
Vben 已提交
108
  "i18n-ally.enabledFrameworks": ["vue", "react"],
109 110 111 112
  "cSpell.words": [
    "vben",
    "windi",
    "browserslist",
113
    "tailwindcss",
114 115 116 117 118
    "esnext",
    "antv",
    "tinymce",
    "qrcode",
    "sider",
119
    "pinia",
120
    "sider",
V
vben 已提交
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
    "nprogress",
    "INTLIFY",
    "stylelint",
    "esno",
    "vitejs",
    "sortablejs",
    "mockjs",
    "codemirror",
    "iconify",
    "commitlint",
    "vditor",
    "echarts",
    "cropperjs",
    "logicflow",
    "vueuse",
    "zxcvbn",
    "lintstagedrc",
138 139
    "brotli",
    "tailwindcss",
1
1sm 已提交
140 141
    "sider",
    "pnpm"
142
  ]
143
}