diff options
-rw-r--r-- | .markdownlint.json | 13 | ||||
-rw-r--r-- | .travis.yml | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/.markdownlint.json b/.markdownlint.json new file mode 100644 index 00000000..1f26268a --- /dev/null +++ b/.markdownlint.json @@ -0,0 +1,13 @@ +{ + "no-hard-tabs": { + "code_blocks": false + }, + "line-length": false, + "commands-show-output": false, + "no-duplicate-header": false, + "no-inline-html": { + "allowed_elements": [ + "br" + ] + } +}
\ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 3f41d97f..48b6f446 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,10 @@ _build: &_build - go build -o ./gobgp/gobgp ./gobgp/ - go build -o ./gobgpd/gobgpd ./gobgpd/ +_node_js: &_node_js + language: node_js + node_js: "node" + _python: &_python language: python python: "2.7" @@ -194,6 +198,13 @@ matrix: # # Tools # + - <<: *_node_js + env: + - DESCRIPTION="markdownlint" + before_script: + - npm install -g markdownlint-cli + script: + - markdownlint $(find . -type f -name '*.md' | grep -v '/vendor/') - <<: *_python env: - DESCRIPTION="Tools" |