diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 512da0105c..58a2c0824c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,6 +24,14 @@ repos: args: - --fix - id: ruff-format + - repo: local + hooks: + - id: local-biome-check + name: biome check + entry: npx biome check --write --files-ignore-unknown=true --no-errors-on-unmatched + language: system + types: [text] + files: "\\.(jsx?|tsx?|c(js|ts)|m(js|ts)|d\\.(ts|cts|mts)|jsonc?|css|svelte|vue|astro|graphql|gql)$" ci: autofix_commit_msg: 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks