From b5531be4bf8d7b63bda8d8df369c6c99e1985604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Verg=C3=A9?= Date: Thu, 10 Jan 2019 09:43:08 +0100 Subject: [PATCH] Really run yamllint (it wasn't checking any rule) Fix the yamllint config in `.yamllint` to "extend" the default rule. Previously, it didn't extend anything and only disabled a rule, which means no rule at all were checked. Also disable some rules in this file, because they report many errors in the Sigma code base. In the future, I suggest fixing these errors and re-enabling standard rules like `trailing-spaces` or `indentation`. Fixes #220. --- .yamllint | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.yamllint b/.yamllint index 2de34c44081..d1641eedcd7 100644 --- a/.yamllint +++ b/.yamllint @@ -1,4 +1,12 @@ --- # https://yamllint.readthedocs.io/en/latest/configuration.html +extends: default rules: + comments: disable + comments-indentation: disable document-start: disable + empty-lines: {max: 2, max-start: 2, max-end: 2} + indentation: disable + line-length: disable + new-line-at-end-of-file: disable + trailing-spaces: disable