Be more specific about files to scan with coala 82/8282/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 6 Jan 2018 01:50:49 +0000 (20:50 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 6 Jan 2018 01:51:42 +0000 (20:51 -0500)
Because of the common-packer symlink we need to be much more careful
about where packer is scanning things to avoid an infinite scan
cycle.

Change-Id: I7ae75004ee69db2d407ff69cbc9df187bd69d504
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
.coafile

index 09216c3..7fdc48e 100644 (file)
--- a/.coafile
+++ b/.coafile
@@ -18,12 +18,12 @@ ignore_length_regex = Signed-off-by,
 
 [all.MarkDown]
 bears = MarkdownBear,SpaceConsistencyBear,WriteGoodLintBear
-files = **.md, **.markdown
+files = *.md, *.markdown
 use_spaces = true
 
 [all.ShellCheck]
 bears = ShellCheckBear,SpaceConsistencyBear
-files = **.sh
+files = provision/**.sh
 shell = bash
 indent_size = 4
 use_spaces = yeah