summaryrefslogtreecommitdiff
path: root/.precious.toml
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2024-01-07 13:17:15 +0000
committerMatthew Fennell <matthew@fennell.dev>2024-01-07 13:17:15 +0000
commitac51259e87c4777514c03d115242c083b881904f (patch)
tree884fbaf73eaf731ef7c775e4d56bd22eb33d4ffa /.precious.toml
parent7a75827b7c6cef7dfbb7bf9025561051eacc50b0 (diff)
Re-introduct yamllint
There are some checks that are enabled by default in yamllint, that are not caught by default by ansible-lint. For instance, ansible-lint does not check for line lengths in its default configuration. Therefore, we would like to re-introduce yamllint to make sure we do not miss any checks.
Diffstat (limited to '.precious.toml')
-rw-r--r--.precious.toml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.precious.toml b/.precious.toml
index 9727732..dac87d0 100644
--- a/.precious.toml
+++ b/.precious.toml
@@ -33,3 +33,10 @@ include = ["hooks/*"]
lint_failure_exit_codes = [1]
ok_exit_codes = [0]
type = "lint"
+
+[commands.yamllint]
+cmd = ["yamllint", "--strict"]
+include = ["*.yaml"]
+lint_failure_exit_codes = [1, 2]
+ok_exit_codes = [0]
+type = "lint"