This repository has been archived on 2023-02-02. You can view files and clone it, but cannot push or open issues or pull requests.
mfgames-gallium-cil/lefthook.yml

23 lines
672 B
YAML
Raw Normal View History

pre-commit:
parallel: true
commands:
2022-09-06 04:02:36 +00:00
dotnet-format:
glob: "*.cs"
run: dotnet format
prettier:
run: prettier . --write --loglevel warn
nixfmt:
2022-07-09 04:35:53 +00:00
run: nixfmt flake.nix
2022-09-06 04:02:36 +00:00
commit-msg:
commands:
commit-check:
run: convco check -n 1
skip_output:
- meta # Skips lefthook version printing
- summary # Skips summary block (successful and failed steps) printing
- success # Skips successful steps printing
- failure # Skips failed steps printing
- execution # Skips printing successfully executed commands and their output (but still prints failed executions)