23 lines
672 B
YAML
23 lines
672 B
YAML
|
pre-commit:
|
||
|
parallel: true
|
||
|
commands:
|
||
|
dotnet-format:
|
||
|
glob: "*.cs"
|
||
|
run: dotnet format
|
||
|
prettier:
|
||
|
run: prettier . --write --loglevel warn
|
||
|
nixfmt:
|
||
|
run: nixfmt flake.nix
|
||
|
|
||
|
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)
|