From: Daniel Farrell Date: Wed, 19 Jul 2017 21:43:16 +0000 (-0400) Subject: Cleanup Coala config X-Git-Tag: v0.5.0~1^2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F99%2F5599%2F1;p=releng%2Fglobal-jjb.git Cleanup Coala config * Use new inheritance semantics * Add ignores so checks run faster * Use cleaner multi-dir regexes Change-Id: I18e0fa2b3033c658a297cd71e368f0e272b081b0 Signed-off-by: Daniel Farrell --- diff --git a/.coafile b/.coafile index 4c0ea043..b2c13db3 100644 --- a/.coafile +++ b/.coafile @@ -1,4 +1,14 @@ -[GitCommit] +[all] +ignore = .tox/**, + .git/**, + .gitignore, + .gitreview, + .gitmodules, + node_modules/**, + **.sw?, + **.orig + +[all.GitCommit] bears = GitCommitBear ignore_length_regex = Signed-off-by, Also-by, @@ -6,35 +16,27 @@ ignore_length_regex = Signed-off-by, http://, https:// -[Groovy] +[all.Groovy] bears = SpaceConsistencyBear -files = **/*.groovy -ignore = .git/**, - .tox/** +files = **.groovy indent_size = 4 use_spaces = true -[MarkDown] +[all.MarkDown] bears = MarkdownBear,SpaceConsistencyBear,WriteGoodLintBear -files = **/*.md, **/*.markdown -ignore = .git/**, - .tox/** +files = **.md, **.markdown use_spaces = true -[ShellCheck] +[all.ShellCheck] bears = ShellCheckBear,SpaceConsistencyBear -files = **/*.sh -ignore = .git/**, - .tox/** +files = **.sh shell = bash indent_size = 4 use_spaces = yeah -[YAML] +[all.YAML] bears = YAMLLintBear -files = **/*.yaml -ignore = .git/**, - .tox/** +files = **.yaml document_start = True yamllint_config = yamllint.conf