From 9e427428b452fdeea685a4530f2b0eb2520fc55f Mon Sep 17 00:00:00 2001 From: Wen Liang Date: Wed, 7 Apr 2021 14:33:04 -0400 Subject: [PATCH] Add markdownlint rules to allow header duplication Markdownlint requires each section headers to be different by default but the Changelog needs to contain multiple sections with the same name, therefore enable `allow_different_nesting` to support this use case. Signed-off-by: Wen Liang --- .mdl_style.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.mdl_style.rb b/.mdl_style.rb index da919b3..3f44d3c 100644 --- a/.mdl_style.rb +++ b/.mdl_style.rb @@ -5,3 +5,5 @@ rule 'MD003', :style => :setext_with_atx rule 'MD013', :line_length => 88 # https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md#md029---ordered-list-item-prefix rule 'MD029', :style => :ordered +# https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md#md024---multiple-headers-with-the-same-content +rule "MD024", :allow_different_nesting => true