Improve Coala linting, add section stubs/ignores
[integration/distribution.git] / .coafile
index 6e9dfd7801774736016431e0b90d76a6be4f6d20..7c1d7d7d5e98192ffb0dabb652d3045a3efd1a1e 100644 (file)
--- a/.coafile
+++ b/.coafile
@@ -1,3 +1,7 @@
+[all]
+ignore = .tox/**, .git/**, .gitignore, .gitreview, **.sw?, **.orig,
+         karaf/target/**
+
 [GitCommit]
 bears = GitCommitBear
 ignore_length_regex = Signed-off-by,
@@ -6,8 +10,23 @@ ignore_length_regex = Signed-off-by,
     http://,
     https://
 
-[Python]
-bears = PEP8Bear
-files = **/*.py
-ignore = .*/**
-max_line_length = 120
+[all.spacing]
+bears = SpaceConsistencyBear
+# TODO: Enable this and fix errors
+enabled = False
+use_spaces = True
+enforce_newline_at_EOF = False
+files = **
+# default_actions = SpaceConsistencyBear: ApplyPatchAction
+
+[all.shell]
+bears = ShellCheckBear
+# TODO: Enable this and fix errors
+enabled = False
+files = **.sh
+
+[all.xml]
+bears = XMLBear
+# TODO: Enable this and fix errors
+enabled = False
+files = **.xml