From 2c14137f46058b306097706399a357af89c1087b Mon Sep 17 00:00:00 2001 From: Tony Breeds Date: Wed, 4 Jan 2017 16:28:57 +1100 Subject: [PATCH] Allow human readable yaml The default yamllint rules allow for only a single space after a key. It's kinda nice to be able to space align the dates to make them slightly more readable by a human. Add a yamllint file that sets that up, at the same time demote these from error to warning. Change-Id: Iab4c2a466146f4c440e6552a1341fc4474c62502 --- .yamllint | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .yamllint diff --git a/.yamllint b/.yamllint new file mode 100644 index 00000000..3c228077 --- /dev/null +++ b/.yamllint @@ -0,0 +1,12 @@ +--- +extends: default +rules: + braces: + level: warning + max-spaces-inside: 1 + brackets: + level: warning + max-spaces-inside: 1 + colons: + level: warning + max-spaces-after: 3