Add coala linting for YAML and JSON
[releng/global-jjb.git] / .coafile
diff --git a/.coafile b/.coafile
new file mode 100644 (file)
index 0000000..291c200
--- /dev/null
+++ b/.coafile
@@ -0,0 +1,23 @@
+[Default]
+ignore = .*/**
+
+[GitCommit]
+bears = GitCommitBear
+ignore_length_regex = Signed-off-by,
+    Also-by,
+    Co-authored-by,
+    http://,
+    https://
+
+[YAML]
+bears = YAMLLintBear
+files = **/*.yaml
+document_start = True
+yamllint_config = yamllint.conf
+
+[ShellCheck]
+bears = ShellCheckBear,SpaceConsistencyBear
+files = **/*.sh
+shell = bash
+indent_size = 4
+use_spaces = yeah