mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-05 04:19:02 +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",
|
"packageManager": "yarn@4.9.1",
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.{js,jsx,ts,tsx,cjs,mjs,cts,mts}": [
|
"*.{js,jsx,ts,tsx,cjs,mjs,cts,mts}": [
|
||||||
"prettier --write",
|
"biome format --write",
|
||||||
"eslint --fix"
|
"eslint --fix"
|
||||||
],
|
],
|
||||||
"*.{json,yml,yaml,css,html}": [
|
"*.{json,yml,yaml,css,html}": [
|
||||||
"prettier --write"
|
"biome format --write"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user