Relaxed linting rules
Change-Id: I15da0b77683bc21263b0f9aa68d328878e7a22b2
diff --git a/mdlstyle.rb b/mdlstyle.rb
index ab3dc59..6504269 100644
--- a/mdlstyle.rb
+++ b/mdlstyle.rb
@@ -1,7 +1,3 @@
-# markdownlint(mdl) style rules
-# Rule descriptions:
-# https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md
-
# Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,6 +12,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+# markdownlint(mdl) style rules
+# Rule descriptions:
+# https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md
+# Help on writing this rules:
+#. https://github.com/markdownlint/markdownlint/blob/master/docs/creating_styles.md
+
# use all rules
all
@@ -23,7 +25,7 @@
rule 'MD007', :indent => 4
# Don't enforce line length limitations within code blocks and tables
-rule 'MD013', :code_blocks => false, :tables => false
+rule 'MD013', :code_blocks => false, :tables => false, line_length: false
# Numbered lists should have the correct order
rule 'MD029', :style => "ordered"
@@ -31,3 +33,14 @@
# Allow ! and ? as trailing punctuation in headers
rule 'MD026', :punctuation => '.,;:'
+# Exclude rule: Trailing spaces
+exclude_rule 'MD009'
+
+# Exclude rule: Fenced code blocks should be surrounded by blank lines
+exclude_rule 'MD031'
+
+# Exclude rule: Multiple spaces after blockquote symbol
+exclude_rule 'MD027'
+
+# Exclude rule: Header levels should only increment by one level at a time
+exclude_rule 'MD001'
\ No newline at end of file