From 72e523f2775425c70cf2ec7f698bcd752584ce94 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Thu, 1 Dec 2022 20:57:21 +0200 Subject: [PATCH] scripts/mdlint: update mdlint to v0.12.0 --- docs/mdl-style.rb | 3 ++- scripts/test-infra/mdlint.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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