Files
frontend-svelte/lefthook.yml
Ilia Mashkov 4705e40f92
Some checks failed
Build / build (pull_request) Failing after 7m11s
Lint / Lint Code (pull_request) Failing after 7m26s
Test / Svelte Checks (pull_request) Failing after 7m23s
fix: exclude shadcn files from lefthook svetle-check
2026-01-05 09:34:01 +03:00

29 lines
583 B
YAML

pre-commit:
parallel: true
commands:
format:
glob: "*.{ts,js,svelte,json,md}"
run: yarn dprint fmt {staged_files}
stage_fixed: true
lint:
glob: "*.{ts,js,svelte}"
run: yarn oxlint {staged_files}
pre-push:
parallel: true
commands:
type-check:
run: yarn tsc --noEmit
svelte-check:
run: yarn check:shadcn-excluded --threshold warning
format-check:
glob: "*.{ts,js,svelte,json,md}"
run: yarn dprint check {push_files}
lint-full:
glob: "*.{ts,js,svelte}"
run: yarn oxlint {push_files}