style(style): 💄 修改prettierrc格式化范围

This commit is contained in:
nongyehong 2024-10-28 15:18:50 +08:00
parent 8a18e84ce7
commit d0fd528d7c
2 changed files with 3 additions and 2 deletions

View File

@ -5,4 +5,5 @@
**/*.svg **/*.svg
**/*.sh **/*.sh
/public/* /public/*
/src-tauri/*
auto-imports.d.ts auto-imports.d.ts

View File

@ -16,9 +16,9 @@
"url": "https://github.com/HuLaSpark/HuLa" "url": "https://github.com/HuLaSpark/HuLa"
}, },
"lint-staged": { "lint-staged": {
"*.{js,jsx,vue,ts,tsx}": [ "*.*": [
"oxlint src", "oxlint src",
"prettier --config .prettierrc --write", "prettier . --write",
"eslint src" "eslint src"
] ]
}, },