-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.pre-commit-hooks.yaml
28 lines (28 loc) · 1.12 KB
/
.pre-commit-hooks.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
- id: biome-ci
name: biome ci
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|svelte|vue|astro|graphql|gql)$"
require_serial: true
- 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|svelte|vue|astro|graphql|gql)$"
require_serial: true
- 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|svelte|vue|astro|graphql|gql)$"
require_serial: true
- 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|svelte|vue|astro|graphql|gql)$"
require_serial: true