Add linting for RST files 34/7134/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 27 Oct 2017 17:44:33 +0000 (13:44 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 27 Oct 2017 19:37:11 +0000 (15:37 -0400)
We should be linting our reStructuredText documentation as well.

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

index b2c13db..366b50c 100644 (file)
--- a/.coafile
+++ b/.coafile
@@ -27,6 +27,16 @@ bears = MarkdownBear,SpaceConsistencyBear,WriteGoodLintBear
 files = **.md, **.markdown
 use_spaces = true
 
+[all.reStructuredText]
+bears = SpaceConsistencyBear,WriteGoodLintBear
+files = **.rst
+use_spaces = true
+ignore = .git/**,
+    .tox/**,
+    docs/jjb/lf-ci-jobs.rst,
+    docs/jjb/lf-macros.rst,
+    docs/jjb/lf-maven-jobs.rst
+
 [all.ShellCheck]
 bears = ShellCheckBear,SpaceConsistencyBear
 files = **.sh