From eb4a78a23374859ba875d5f320571966b98566fd Mon Sep 17 00:00:00 2001 From: Daniel Farrell Date: Wed, 19 Jul 2017 17:43:16 -0400 Subject: [PATCH] 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 --- .coafile | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) 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 -- 2.16.6