Disable markdownlint line_length check for tables and code blocks.

This commit is contained in:
Waylan Limberg
2017-11-07 17:55:40 -05:00
parent b504e14501
commit 3ff094d510
2 changed files with 5 additions and 1 deletions

4
mdl_ruleset.rb Normal file
View File

@@ -0,0 +1,4 @@
all # Use all markdownlint rules
# Disable line length check for tables and code blocks
rule 'MD013', :line_length => 80, :code_blocks => false, :tables => false

View File

@@ -22,7 +22,7 @@ commands={envbindir}/flake8 mkdocs --max-line-length=119 --exclude=mkdocs/compat
[testenv:markdown-lint]
whitelist_externals = mdl
passenv = *
commands=mdl README.md CONTRIBUTING.md docs/
commands=mdl --style mdl_ruleset.rb README.md CONTRIBUTING.md docs/
[testenv:linkchecker]
basepython = python2.7