chore: update biome format command to ignore unmatched files (#10207)

Add --no-errors-on-unmatched flag to biome format commands in lint-staged configuration to prevent errors when no matching files are found
This commit is contained in:
Phantom 2025-09-16 22:31:38 +08:00 committed by GitHub
parent ee95fad7e5
commit a9093b1dea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -374,11 +374,11 @@
"packageManager": "yarn@4.9.1",
"lint-staged": {
"*.{js,jsx,ts,tsx,cjs,mjs,cts,mts}": [
"biome format --write",
"biome format --write --no-errors-on-unmatched",
"eslint --fix"
],
"*.{json,yml,yaml,css,html}": [
"biome format --write"
"biome format --write --no-errors-on-unmatched"
]
}
}