From b892f1d7262b36e2ba895768272779571c613adf Mon Sep 17 00:00:00 2001 From: Colin Wilk Date: Mon, 22 May 2023 23:32:53 +0200 Subject: Add YAMLLint rules Fix linting errors that came up with the new rules Main changes: * Enforce YAML document start headers * Enforce spacing with commas, colons and hyphens * Enforce indentation * Enforce use of quotes only then required * Enforce use of single quotes over double quotes * Enforce use of true/false over yes/no and derivatives * [..] Other minor rules that were already followed Signed-off-by: Colin Wilk --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) (limited to '.pre-commit-config.yaml') diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0264f0e..0204c17 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,4 @@ +--- default_stages: [commit, push] repos: -- cgit v1.2.3