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": { "formatter": {
"jsxQuoteStyle": "double", "jsxQuoteStyle": "double",
"quoteProperties": "asNeeded", "quoteProperties": "asNeeded",
"trailingCommas": "all",
"semicolons": "asNeeded", "semicolons": "asNeeded",
"arrowParentheses": "always", "arrowParentheses": "always",
"bracketSpacing": true, "bracketSpacing": true,

View File

@ -2,5 +2,5 @@ pre-commit:
commands: commands:
check: check:
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc,astro}" 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 stage_fixed: true

View File

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