diff --git a/docs/mdl-style.rb b/docs/mdl-style.rb index 11d47d3a8b..04c7dbe416 100644 --- a/docs/mdl-style.rb +++ b/docs/mdl-style.rb @@ -5,5 +5,6 @@ # Exclude MD041 - First line in file should be a top level header exclude_rule 'MD041' rule 'MD013', :tables => false -rule 'MD013', :code_blocks => false +rule 'MD007', :indent => 2 +rule 'MD013', :ignore_code_blocks => true rule 'MD024', :allow_different_nesting => true diff --git a/scripts/test-infra/mdlint.sh b/scripts/test-infra/mdlint.sh index 9f156805a9..ff1504ad86 100755 --- a/scripts/test-infra/mdlint.sh +++ b/scripts/test-infra/mdlint.sh @@ -1,6 +1,6 @@ #!/bin/bash -e # Install mdl -gem install mdl -v 0.11.0 +gem install mdl -v 0.12.0 # Run verify steps find docs/ -path docs/vendor -prune -false -o -name '*.md' | xargs mdl -s docs/mdl-style.rb