20 lines
379 B
YAML
20 lines
379 B
YAML
|
|
# Lefthook configuration
|
||
|
|
# https://github.com/evilmartians/lefthook
|
||
|
|
|
||
|
|
commit-msg:
|
||
|
|
commands:
|
||
|
|
commitlint:
|
||
|
|
run: bunx commitlint --edit {1}
|
||
|
|
|
||
|
|
pre-commit:
|
||
|
|
parallel: true
|
||
|
|
commands:
|
||
|
|
biome:
|
||
|
|
glob: "*.{ts,tsx,js,jsx,json,astro}"
|
||
|
|
run: bunx @biomejs/biome check --no-errors-on-unmatched {staged_files}
|
||
|
|
|
||
|
|
pre-push:
|
||
|
|
commands:
|
||
|
|
build:
|
||
|
|
run: bun run build
|