mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-29 05:51:26 +08:00
build: replace prettier with biome for formatting
Use biome as the default formatter instead of prettier for better performance and modern tooling support
This commit is contained in:
parent
9228eb3102
commit
76c19ea59f
@ -370,11 +370,11 @@
|
||||
"packageManager": "yarn@4.9.1",
|
||||
"lint-staged": {
|
||||
"*.{js,jsx,ts,tsx,cjs,mjs,cts,mts}": [
|
||||
"prettier --write",
|
||||
"biome format --write",
|
||||
"eslint --fix"
|
||||
],
|
||||
"*.{json,yml,yaml,css,html}": [
|
||||
"prettier --write"
|
||||
"biome format --write"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user