build: eslint cache

This commit is contained in:
Burt 2024-09-05 20:37:45 +08:00
parent 6e30723320
commit 31b32fa6fd
3 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View File

@ -22,6 +22,7 @@ dist
.hbuilderx
.stylelintcache
.eslintcache
# lock 文件还是不要了,我主要的版本写死就好了
# pnpm-lock.yaml

View File

@ -12,6 +12,7 @@
"uni-helper.uni-highlight-vscode",
"uni-helper.uni-ui-snippets-vscode",
"uni-helper.uni-app-snippets-vscode",
"mrmlnc.vscode-json5"
"mrmlnc.vscode-json5",
"streetsidesoftware.code-spell-checker"
]
}

View File

@ -73,7 +73,7 @@
"prettier --write"
],
"**/*.{vue,js,ts,jsx,tsx}": [
"eslint --fix"
"eslint --cache --fix"
],
"**/*.{vue,css,scss,html}": [
"stylelint --fix"