From 0c51c5f66c81c031089be1f109e035f58e80db51 Mon Sep 17 00:00:00 2001 From: Alex Rockhill Date: Sat, 30 Aug 2025 05:59:53 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Add=20frontend=20linter=20pre-co?= =?UTF-8?q?mmit=20hook=20(#1791)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 512da01..58a2c08 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