mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 05:49:32 +02:00
24 lines
731 B
YAML
24 lines
731 B
YAML
pre-commit:
|
|
skip:
|
|
- merge
|
|
- rebase
|
|
commands:
|
|
biome-lint:
|
|
# Disable colors as certain IDEs don't support it in the output pane.
|
|
# Summary mode looks decent in plain ASCII anyhow
|
|
run: pnpm exec biome check --write --colors=off --reporter=summary --staged --no-errors-on-unmatched --diagnostic-level=error
|
|
stage_fixed: true
|
|
ls-lint:
|
|
run: pnpm exec ls-lint
|
|
|
|
post-merge:
|
|
commands:
|
|
update-submodules:
|
|
run: pnpm update-locales
|
|
|
|
post-checkout:
|
|
commands:
|
|
update-submodules:
|
|
# cf https://git-scm.com/docs/githooks#_post_checkout:
|
|
# The 3rd argument is 1 for branch checkouts and 0 for file checkouts.
|
|
run: if test {3} -eq "1"; then pnpm update-locales; fi |