mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 09:58:31 +07:00
Disable markdownlint line_length check for tables and code blocks.
This commit is contained in:
4
mdl_ruleset.rb
Normal file
4
mdl_ruleset.rb
Normal 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
|
||||
2
tox.ini
2
tox.ini
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user