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.
pull/113/head
Nicholas McDonnell 3 years ago
parent df674df714
commit 2fb4e15cf6
No known key found for this signature in database
GPG Key ID: 7994ADE2A56BE5D1
  1. 2
      .pre-commit-config.yaml

@ -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…
Cancel
Save