feat(build): add typos checking

for both commitmsg ans staged_files
This commit is contained in:
Yorick Barbanneau 2024-04-17 16:49:46 +02:00
parent cc4d0a7d3f
commit 67e7a3269d
2 changed files with 11 additions and 1 deletions

View file

@ -4,8 +4,15 @@ no_tty: true
commit-msg:
commands:
lint:commitmsg:
lint:convco:
run: cat {1} | convco check --from-stdin
lint:typos:
run: cat {1} | typos -
pre-commit:
parallel: false
commands:
lint:typos:staged_files:
run: typos {staged_files}
pre-push:
parallel: false
commands: