ci: update biome settings

This commit is contained in:
Lars Hampe 2024-11-12 16:16:08 +01:00
parent 5ae746346f
commit 618a2f67a4
3 changed files with 2 additions and 3 deletions

View File

@ -24,7 +24,6 @@
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingCommas": "all",
"semicolons": "asNeeded",
"arrowParentheses": "always",
"bracketSpacing": true,

View File

@ -2,5 +2,5 @@ pre-commit:
commands:
check:
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc,astro}"
run: bunx @biomejs/biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --colors=off {staged_files}
run: /run/current-system/sw/bin/biome check --apply --no-errors-on-unmatched --files-ignore-unknown=true --colors=off {staged_files}
stage_fixed: true

View File

@ -31,7 +31,7 @@
"packages/*"
],
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@biomejs/biome": "1.9.4",
"lefthook": "^1.7.15"
}
}