From b3837d44cec38758d67f940bea2be0b5692133a6 Mon Sep 17 00:00:00 2001 From: Rakshith R Date: Tue, 18 Oct 2022 12:43:35 +0530 Subject: [PATCH] ci: fix mdl configuration This commit makes the following changes: `Please replace \":code_blocks => false\" \` `by \":ignore_code_blocks => true\" in your configuration.` Some rules are ignore for the time being, these will be fixed later on. Signed-off-by: Rakshith R --- scripts/mdl-style.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/mdl-style.rb b/scripts/mdl-style.rb index 3fdd9e00a49..99a4f3d0050 100644 --- a/scripts/mdl-style.rb +++ b/scripts/mdl-style.rb @@ -3,8 +3,13 @@ #Refer below url for more information about the markdown rules. #https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md -rule 'MD013', :code_blocks => false, :tables => false, :line_length => 80 +rule 'MD013', :ignore_code_blocks => false, :tables => false, :line_length => 80 exclude_rule 'MD033' # In-line HTML: GitHub style markdown adds HTML tags exclude_rule 'MD040' # Fenced code blocks should have a language specified exclude_rule 'MD041' # First line in file should be a top level header +# TODO: Enable the rules after making required changes. +exclude_rule 'MD007' # Unordered list indentation +exclude_rule 'MD012' # Multiple consecutive blank lines +exclude_rule 'MD013' # Line length +exclude_rule 'MD047' # File should end with a single newline character \ No newline at end of file