1
0
Fork 0
mirror of https://github.com/cisagov/log4j-affected-db.git synced 2024-11-23 00:50: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:
Nicholas McDonnell 2021-01-07 04:07:38 -05:00
parent df674df714
commit 2fb4e15cf6
No known key found for this signature in database
GPG key ID: 7994ADE2A56BE5D1

View file

@ -42,6 +42,8 @@ repos:
rev: v1.25.0 rev: v1.25.0
hooks: hooks:
- id: yamllint - id: yamllint
args:
- --strict
# Shell script hooks # Shell script hooks
- repo: https://github.com/detailyang/pre-commit-shell - repo: https://github.com/detailyang/pre-commit-shell