mirror of
https://gitee.com/HuLaSpark/HuLa.git
synced 2024-12-02 03:37:53 +08:00
style(style): 💄 修改prettierrc格式化范围
This commit is contained in:
parent
8a18e84ce7
commit
d0fd528d7c
@ -5,4 +5,5 @@
|
|||||||
**/*.svg
|
**/*.svg
|
||||||
**/*.sh
|
**/*.sh
|
||||||
/public/*
|
/public/*
|
||||||
|
/src-tauri/*
|
||||||
auto-imports.d.ts
|
auto-imports.d.ts
|
@ -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"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user