Skip to content

Commit 729ac68

Browse files
committed
fix: use --write for biome v1.8.0
1 parent 9febd88 commit 729ac68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pre-commit-hooks.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?)$"
77
- id: biome-check
88
name: biome check
9-
entry: biome check --apply --files-ignore-unknown=true --no-errors-on-unmatched
9+
entry: biome check --write --files-ignore-unknown=true --no-errors-on-unmatched
1010
language: node
1111
types: [text]
1212
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?)$"
@@ -18,7 +18,7 @@
1818
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?)$"
1919
- id: biome-lint
2020
name: biome lint
21-
entry: biome lint --apply --files-ignore-unknown=true --no-errors-on-unmatched
21+
entry: biome lint --write --files-ignore-unknown=true --no-errors-on-unmatched
2222
language: node
2323
types: [text]
2424
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?)$"

0 commit comments

Comments
 (0)