perf- 修改配置

This commit is contained in:
h_mo 2022-06-03 12:45:07 +08:00
parent 56d7962595
commit d8a71e8fba
3 changed files with 8 additions and 2 deletions

1
.gitignore vendored
View File

@ -3,4 +3,3 @@
/.idea/ /.idea/
/.hbuilderx/ /.hbuilderx/
/.eslintcache /.eslintcache
/.husky/

4
.husky/pre-commit Normal file
View File

@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx lint-staged

View File

@ -10,7 +10,10 @@
"resolveJsonModule": true, "resolveJsonModule": true,
"esModuleInterop": true, "esModuleInterop": true,
"lib": ["esnext", "dom"], "lib": ["esnext", "dom"],
"types": ["@dcloudio/types"] "types": ["@dcloudio/types"],
"paths": {
"@/*":["./src/*"]
}
}, },
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"] "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"]
} }