Skip to content

Commit

Permalink
update mdl settings
Browse files Browse the repository at this point in the history
  • Loading branch information
docwhat committed Apr 12, 2018
1 parent aebab90 commit efc71ed
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .mdlrc
Original file line number Diff line number Diff line change
@@ -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
20 changes: 20 additions & 0 deletions .mdlstyle.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit efc71ed

Please sign in to comment.