feat(build): add typos checking
for both commitmsg ans staged_files
This commit is contained in:
parent
cc4d0a7d3f
commit
67e7a3269d
2 changed files with 11 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue