Skip to content

Commit 0e49a2d

Browse files
authored
feat: run hooks on svelte, vue and astro files (#4)
1 parent 683c7fc commit 0e49a2d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.pre-commit-hooks.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@
33
entry: biome ci --files-ignore-unknown=true --no-errors-on-unmatched
44
language: node
55
types: [text]
6-
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css)$"
6+
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css|svelte|vue|astro)$"
77
- id: biome-check
88
name: biome check
99
entry: biome check --write --files-ignore-unknown=true --no-errors-on-unmatched
1010
language: node
1111
types: [text]
12-
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css)$"
12+
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css|svelte|vue|astro)$"
1313
- id: biome-format
1414
name: biome format
1515
entry: biome format --write --files-ignore-unknown=true --no-errors-on-unmatched
1616
language: node
1717
types: [text]
18-
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css)$"
18+
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css|svelte|vue|astro)$"
1919
- id: biome-lint
2020
name: biome lint
2121
entry: biome lint --write --files-ignore-unknown=true --no-errors-on-unmatched
2222
language: node
2323
types: [text]
24-
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css)$"
24+
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css|svelte|vue|astro)$"

0 commit comments

Comments
 (0)