Add Documentation linting 41/8541/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 25 Jan 2018 20:06:50 +0000 (15:06 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 25 Jan 2018 21:13:13 +0000 (16:13 -0500)
Change-Id: I6e1cfebca8289549222e0879ca30f67067561484
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
.coafile
tox.ini

index ef415b4..fe3628c 100644 (file)
--- a/.coafile
+++ b/.coafile
@@ -6,6 +6,10 @@ ignore = .tox/**,
     .gitmodules,
     node_modules/**
 
+[all.Documentation]
+bears = WriteGoodLintBear
+files = docs/**.rst
+
 [all.Git]
 bears = GitCommitBear
 ignore_length_regex = Signed-off-by,
diff --git a/tox.ini b/tox.ini
index 144a720..00e1da8 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -19,6 +19,7 @@ deps =
     nodeenv==1.1.2
 commands =
     nodeenv -p
+    npm install --global write-good
     coala --non-interactive
 
 [testenv:docs]