Remove unused views
[releng/builder.git] / .coafile
index 8bf8810899ccf30284c98aaeba6223d57287b090..f087a8e75323cbb718dfec277f19972ec4eaa01d 100644 (file)
--- a/.coafile
+++ b/.coafile
@@ -1,12 +1,16 @@
-[default]
-bears = SpaceConsistencyBear
-files = scripts/*
-allow_trailing_whitespace = False
-enforce_newline_at_EOF = True
-indent_size = 4
-use_spaces = yeah
+[all]
+ignore = .**
+
+[all.Documentation]
+bears = WriteGoodLintBear
+files = **.markdown,
+    **.md,
+    **.rst
+allow_so_beginning = False
+allow_there_is = False
+allow_cliche_phrases = False
 
-[GitCommit]
+[all.GitCommit]
 bears = GitCommitBear
 ignore_length_regex = Signed-off-by,
     Also-by,
@@ -14,18 +18,27 @@ ignore_length_regex = Signed-off-by,
     http://,
     https://
 
+[all.JSON]
+bears = JSONFormatBear
+files = **.json
+ignore = .**
+indent_size = 2
 
-[YAML]
+[all.ShellCheck]
+bears = ShellCheckBear,
+    SpaceConsistencyBear
+files = **.sh
+ignore = .git/**,
+    .tox/**,
+    jjb/global-jjb/**,
+    jenkins-config/**,
+    jenkins-scripts/*-local-env.sh
+shell = bash
+indent_size = 4
+use_spaces = yeah
+
+[all.YAML]
 bears = YAMLLintBear
 files = jjb/**/*.yaml,openstack-hot/**/*.yaml
 document_start = True
 yamllint_config = yamllint.conf
-
-[ShellCheck]
-bears = ShellCheckBear
-files = jenkins-scripts/**/*.sh,
-    jjb/**/*.sh,
-    scripts/**/*.sh
-ignore = jenkins-scripts/*-local-env.sh,
-    jjb/integration/*.sh
-shell = bash