Add .coafile 64/49164/4
authorsrisankethu <sanketh.uppalapati@research.iiit.ac.in>
Thu, 8 Dec 2016 13:23:59 +0000 (18:53 +0530)
committerDaniel Farrell <dfarrell@redhat.com>
Mon, 12 Dec 2016 15:55:48 +0000 (15:55 +0000)
It is a config file for coala.

To test, install coala and coala-bears.

Install dependencies as asked after running 'coala'.

For example:

sudo npm install -g remark-cli dockerfile_lint

Change-Id: Ia883b48d4d5b27768bd65dcb2cd5a5aa89a6b4ce
Signed-off-by: srisankethu <sanketh.uppalapati@research.iiit.ac.in>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
.coafile [new file with mode: 0644]

diff --git a/.coafile b/.coafile
new file mode 100644 (file)
index 0000000..b44805c
--- /dev/null
+++ b/.coafile
@@ -0,0 +1,40 @@
+[Default]
+ignore = .tox/**, .gitignore, .gitreview, .gitmodules, **/provisioning/roles/**
+use_spaces = True
+
+[DOCS]
+bears = SpaceConsistencyBear, LineLengthBear
+files = ./**/*.rst
+default_actions = SpaceConsistencyBear: ApplyPatchAction
+
+[markdown]
+bears = MarkdownBear
+files = ./**/*.markdown, ./**/*.md
+default_actions = MarkdownBear: ApplyPatchAction
+
+[dockerfile]
+bears = DockerfileLintBear
+files = ./**/Dockerfile
+
+[json]
+bears = JSONFormatBear
+files = ./**/*.json
+default_actions = JSONFormatBear: ApplyPatchAction
+
+[shellcheck]
+bears = ShellCheckBear
+files = ./**/*.sh
+
+[python]
+bears = PyUnusedCodeBear
+files = ./**/*.py
+default_actions = PyUnusedCodeBear: ApplyPatchAction
+
+[autopep8]
+bears = PEP8Bear
+files = ./**/*.py
+default_actions = PEP8Bear: ApplyPatchAction
+
+[yaml]
+bears = YAMLLintBear
+files = ./**/*yaml, ./**/*.yml