pokerogue/lefthook.yml

21 lines
537 B
YAML
Raw Normal View History

pre-commit:
parallel: true
commands:
biome-lint:
glob: "*.{js,jsx,ts,tsx}"
run: npx @biomejs/biome check --write --reporter=summary {staged_files} --no-errors-on-unmatched
stage_fixed: true
skip:
- merge
- rebase
pre-push:
commands:
biome-lint:
glob: "*.{js,ts,jsx,tsx}"
run: npx @biomejs/biome check --write --reporter=summary {push_files} --no-errors-on-unmatched
post-merge:
commands:
update-submodules:
run: git submodule update --init --recursive