🔧 Add frontend linter pre-commit hook (#1791)

This commit is contained in:
Alex Rockhill
2025-08-30 05:59:53 -07:00
committed by GitHub
parent 6453dea7ff
commit 0c51c5f66c

View File

@@ -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