Skip to content

Commit

Permalink
[Tidy] Make vale pre-commit hook run in verbose mode
Browse files Browse the repository at this point in the history
  • Loading branch information
antonymilne authored Sep 23, 2024
1 parent bb6a99f commit 5c3224b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ repos:
hooks:
- id: vale
args: [--config=.vale/.vale.ini]
# There's no way to automatically convert vale suggestions/warnings to errors, and so they won't appear at all unless
# there's an error raised.
# pre-commit's verbose mode means that suggestions and warnings are always shown even if there's no error raised.
# See https://github.com/errata-ai/vale/issues/575.
verbose: true

# Configuration for https://pre-commit.ci/.
ci:
Expand Down

0 comments on commit 5c3224b

Please sign in to comment.