Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
- id: biome-ci
name: biome ci
entry: biome ci --files-ignore-unknown=true --no-errors-on-unmatched
entry: biome ci --files-ignore-unknown=true --no-errors-on-unmatched --error-on-warnings
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
entry: biome check --write --files-ignore-unknown=true --no-errors-on-unmatched --error-on-warnings
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
entry: biome format --write --files-ignore-unknown=true --no-errors-on-unmatched --error-on-warnings
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
entry: biome lint --write --files-ignore-unknown=true --no-errors-on-unmatched --error-on-warnings
language: node
types: [text]
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css|svelte|vue|astro|graphql|gql)$"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ repos:
hooks:
- id: local-biome-check
name: biome check
entry: npx biome check --write --files-ignore-unknown=true --no-errors-on-unmatched
entry: npx biome check --write --files-ignore-unknown=true --no-errors-on-unmatched --error-on-warnings
language: system
types: [text]
files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css|svelte|vue|astro|graphql|gql)$"
Expand Down