Skip to content

Commit

Permalink
Improve cspell pre-commit hook output (#56)
Browse files Browse the repository at this point in the history
* fix: switch off verbose in pre-commit hook

When a pre-commit passes, you don't want to see output other than
"Passed"

* fix: hide progress in pre-commit hook

cspell-cli progress clutters the pre-commit output when errors are
found
  • Loading branch information
redeboer committed Sep 24, 2021
1 parent 4bf1088 commit 23d98fb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
entry: cspell-cli
language: node
types: [file]
verbose: true
args: [--no-must-find-files]
args:
- --no-must-find-files
- --no-progress

0 comments on commit 23d98fb

Please sign in to comment.