diff --git a/.gitignore b/.gitignore index 3197009..26d607a 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ dist .hbuilderx .stylelintcache +.eslintcache # lock 文件还是不要了,我主要的版本写死就好了 # pnpm-lock.yaml diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 3324cd2..522526e 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -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" ] } diff --git a/package.json b/package.json index e818506..bb1139c 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "prettier --write" ], "**/*.{vue,js,ts,jsx,tsx}": [ - "eslint --fix" + "eslint --cache --fix" ], "**/*.{vue,css,scss,html}": [ "stylelint --fix"