summaryrefslogtreecommitdiffstats
path: root/.yamllint
diff options
context:
space:
mode:
authorAndrew Grimberg <agrimberg@linuxfoundation.org>2023-05-03 09:43:27 -0700
committerAndrew Grimberg <agrimberg@linuxfoundation.org>2023-05-03 09:48:10 -0700
commitea19c6d168efa7c5a4533f67a4e41ac171b45d9c (patch)
tree41d8f8749b630ff5acab54beaf0de772bf851a0f /.yamllint
parent86af1067030c622c32ebfa0246482bd69ba45411 (diff)
CI: Configure and enable pre-commit
Change-Id: I7acbeb2b024a7ca81df36fcea8c6c1f052b7f24f Issue-ID: CIMAN-33 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Diffstat (limited to '.yamllint')
-rw-r--r--.yamllint11
1 files changed, 11 insertions, 0 deletions
diff --git a/.yamllint b/.yamllint
new file mode 100644
index 000000000..d4497f85c
--- /dev/null
+++ b/.yamllint
@@ -0,0 +1,11 @@
+---
+extends: default
+
+rules:
+ empty-lines:
+ max-end: 1
+ line-length:
+ max: 120
+ comments:
+ # prettier forces 1 space comment separator
+ min-spaces-from-content: 1