From: Thanh Ha Date: Fri, 27 Oct 2017 17:44:33 +0000 (-0400) Subject: Add linting for RST files X-Git-Tag: v0.11.0~2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;ds=inline;h=bf3002102e68a2173c634ed370c81fcc1287dd93;p=releng%2Fglobal-jjb.git Add linting for RST files We should be linting our reStructuredText documentation as well. Change-Id: Iff5c8f142a8dbc58550cc749c2742094bf13954d Signed-off-by: Thanh Ha --- diff --git a/.coafile b/.coafile index b2c13db3..366b50c4 100644 --- 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