diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index ab36722..545f1c9 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -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)$" diff --git a/README.md b/README.md index d8a8024..12cc9cf 100644 --- a/README.md +++ b/README.md @@ -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)$"