Skip to content

Commit

Permalink
feat: run hooks on svelte, vue and astro files (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyilo authored Jun 19, 2024
1 parent 683c7fc commit 0e49a2d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@
entry: biome ci --files-ignore-unknown=true --no-errors-on-unmatched
language: node
types: [text]
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css)$"
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css|svelte|vue|astro)$"
- id: biome-check
name: biome check
entry: biome check --write --files-ignore-unknown=true --no-errors-on-unmatched
language: node
types: [text]
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css)$"
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css|svelte|vue|astro)$"
- id: biome-format
name: biome format
entry: biome format --write --files-ignore-unknown=true --no-errors-on-unmatched
language: node
types: [text]
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css)$"
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css|svelte|vue|astro)$"
- id: biome-lint
name: biome lint
entry: biome lint --write --files-ignore-unknown=true --no-errors-on-unmatched
language: node
types: [text]
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css)$"
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css|svelte|vue|astro)$"

0 comments on commit 0e49a2d

Please sign in to comment.