mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-22 16:40:48 +00:00
Add the --strict flag to the yamllint pre-commot hook
The --strict flag will cause the yamllint hook to exit with a non-zero exit code when warnings are found instead of only when errors are found.
This commit is contained in:
parent
df674df714
commit
2fb4e15cf6
1 changed files with 2 additions and 0 deletions
|
@ -42,6 +42,8 @@ repos:
|
|||
rev: v1.25.0
|
||||
hooks:
|
||||
- id: yamllint
|
||||
args:
|
||||
- --strict
|
||||
|
||||
# Shell script hooks
|
||||
- repo: https://github.com/detailyang/pre-commit-shell
|
||||
|
|
Loading…
Reference in a new issue