Skip to content

Commit

Permalink
ci: fix mdl configuration
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit b3837d4)
  • Loading branch information
Rakshith-R authored and mergify[bot] committed Oct 18, 2022
1 parent a3a0730 commit 1d624f4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/mdl-style.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1d624f4

Please sign in to comment.