From 393c06f537f01bbd35f08beb12ea802c63d8a559 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Thu, 27 May 2021 21:22:00 +0200 Subject: [enh] add test.yamllint - lint yaml files Usage:: make test.yamllint ./manage test.yamllint test.yamllint is also added to the `test` makefile target. Signed-off-by: Markus Heiser --- .yamllint.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .yamllint.yml (limited to '.yamllint.yml') diff --git a/.yamllint.yml b/.yamllint.yml new file mode 100644 index 000000000..065665612 --- /dev/null +++ b/.yamllint.yml @@ -0,0 +1,16 @@ +extends: default + +rules: + + indentation: + spaces: 2 + + # 120 chars should be enough, but don't fail if a line is longer + line-length: + max: 120 + level: warning + allow-non-breakable-words: true + + # we don't have multiple document per file + document-start: disable + document-end: disable -- cgit v1.2.3