Skip to content

Commit 867196b

Browse files
authored
chore(other): 🐛 sync configuration (#40)
1 parent c7669d1 commit 867196b

File tree

4 files changed

+18
-54
lines changed

4 files changed

+18
-54
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@ coverage
3030
*.sw?
3131

3232
package-lock.json
33-
yarn.lock
33+
yarn.lock
34+
35+
.VSCodeCounter

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
registry=https://registry.npmmirror.com/
22
shamefully-hoist=true
3+
ignore-workspace-root-check=true
4+
link-workspace-packages=true

.vscode/settings.json

Lines changed: 12 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,23 @@
11
{
2-
"cSpell.words": [
3-
"Antd",
4-
"antv",
5-
"clsx",
6-
"colord",
7-
"consola",
8-
"EDITMSG",
9-
"espree",
10-
"execa",
11-
"heroicons",
12-
"hexcode",
13-
"iconify",
14-
"INDEXEDDB",
15-
"jiti",
16-
"kolorist",
17-
"Laba",
18-
"localforage",
19-
"LOCALSTORAGE",
20-
"nocheck",
21-
"nprogress",
22-
"ofetch",
23-
"preflights",
24-
"sider",
25-
"tada",
26-
"Uncapitalize",
27-
"unocss",
28-
"unplugin",
29-
"VITE",
30-
"vitepress",
31-
"vueuse",
32-
"WEBSQL",
33-
"wechat"
34-
],
35-
"editor.codeActionsOnSave": {
36-
"source.fixAll.eslint": "explicit"
37-
},
38-
"editor.fontLigatures": true,
39-
"editor.formatOnSave": false,
2+
"editor.tabSize": 2,
403
"editor.quickSuggestions": {
414
"strings": true
425
},
43-
"editor.tabSize": 2,
44-
"files.associations": {
45-
"*.env.*": "dotenv",
46-
"*.svg": "html"
6+
"editor.codeActionsOnSave": {
7+
"source.fixAll.eslint": "explicit",
8+
"source.organizeImports": "never"
479
},
48-
"files.eol": "\n",
49-
"i18n-ally.displayLanguage": "zh-CN",
10+
"eslint.useFlatConfig": true,
11+
"editor.formatOnSave": false,
12+
"eslint.validate": ["html", "css", "scss", "json", "jsonc"],
13+
"i18n-ally.displayLanguage": "zh-cn",
5014
"i18n-ally.enabledParsers": ["ts"],
5115
"i18n-ally.enabledFrameworks": ["vue"],
5216
"i18n-ally.editor.preferEditor": true,
5317
"i18n-ally.keystyle": "nested",
54-
"i18n-ally.localesPaths": ["src/locales/lang"],
18+
"i18n-ally.localesPaths": ["src/locales/langs"],
19+
"prettier.enable": false,
20+
"typescript.tsdk": "node_modules/typescript/lib",
5521
"unocss.root": ["./"],
56-
"[html][css][less][scss][sass][markdown][yaml][yml][json][jsonc]": {
57-
"editor.defaultFormatter": "esbenp.prettier-vscode",
58-
"editor.formatOnSave": true
59-
}
22+
"vue.server.hybridMode": true
6023
}

vite.config.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ export default defineConfig(configEnv => {
3535
host: '0.0.0.0',
3636
port: 9527,
3737
open: true,
38-
proxy: createViteProxy(viteEnv, enableProxy),
39-
fs: {
40-
cachedChecks: false
41-
}
38+
proxy: createViteProxy(viteEnv, enableProxy)
4239
},
4340
preview: {
4441
port: 9725

0 commit comments

Comments
 (0)