Update with suggestions from 60434
[releng/builder.git] / .coafile
index 70e0137607c70c1902c6dda2226b40cfb049778b..c295a7cbb3628c9aa1f5f3c9a85d16d5ff3876d7 100644 (file)
--- a/.coafile
+++ b/.coafile
@@ -1,4 +1,16 @@
-[GitCommit]
+[all]
+ignore = .**
+
+[all.Documentation]
+bears = WriteGoodLintBear
+files = **.markdown,
+    **.md,
+    **.rst
+allow_so_beginning = False
+allow_there_is = False
+allow_cliche_phrases = False
+
+[all.GitCommit]
 bears = GitCommitBear
 ignore_length_regex = Signed-off-by,
     Also-by,
@@ -6,15 +18,16 @@ ignore_length_regex = Signed-off-by,
     http://,
     https://
 
-[JSON]
+[all.JSON]
 bears = JSONFormatBear
-files = **/*.json
-ignore = .*/**
+files = **.json
+ignore = .**
 indent_size = 2
 
-[ShellCheck]
-bears = ShellCheckBear,SpaceConsistencyBear
-files = **/*.sh
+[all.ShellCheck]
+bears = ShellCheckBear,
+    SpaceConsistencyBear
+files = **.sh
 ignore = .git/**,
     .tox/**,
     jenkins-scripts/*-local-env.sh,
@@ -34,7 +47,7 @@ shell = bash
 indent_size = 4
 use_spaces = yeah
 
-[YAML]
+[all.YAML]
 bears = YAMLLintBear
 files = jjb/**/*.yaml,openstack-hot/**/*.yaml
 document_start = True