diff --git a/.mdlrc b/.mdlrc index b7eaf2f..2de76cc 100644 --- a/.mdlrc +++ b/.mdlrc @@ -1,18 +1,7 @@ # MDL configuration file +# vim:set ft=ruby: -all +ignore_front_matter true +style File.expand_path('.mdlstyle.rb') -# Disabled rules -rules '~MD030', '~MD033', '~MD013', '~MD003', '~MD029' - -rule 'MD004', :style => :dash - -rule 'MD007', :indent => 4 - -rule 'MD035', :style => "---" - -ignore-front-matter true - -# Inline HTML - this isn't forbidden by the style guide, and raw HTML use is -# explicitly mentioned in the 'email automatic links' section. -exclude_rule 'MD033' +# EOF diff --git a/.mdlstyle.rb b/.mdlstyle.rb new file mode 100644 index 0000000..9342d41 --- /dev/null +++ b/.mdlstyle.rb @@ -0,0 +1,20 @@ +# MDL style +# vim:set ft=ruby: + +all + +rule 'ul-style', style: :consistent # MD004 +rule 'ul-indent', indent: 4 # MD007 +rule 'ol-prefix', style: 'ordered' # MD029 +rule 'hr-style', style: '---' # MD035 + +exclude_rule 'first-header-h1' # MD002 +exclude_rule 'line-length' # MD013 +exclude_rule 'header-style' # MD029 +exclude_rule 'list-marker-space' # MD030 +exclude_rule 'no-inline-html' # MD033 +exclude_rule 'no-emphasis-as-header' # MD036 +exclude_rule 'fenced-code-language' # MD040 +exclude_rule 'first-line-h1' # MD041 + +# EOF