Larry Peterson | 8014352 | 2018-06-28 10:43:40 -0700 | [diff] [blame] | 1 | # Copyright 2017-present Open Networking Foundation |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | # markdownlint(mdl) relaxed rules file |
| 16 | # |
| 17 | # Rule descriptions: |
| 18 | # https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md |
| 19 | # Instructions on modifying the rules file: |
| 20 | # https://github.com/markdownlint/markdownlint/blob/master/docs/creating_styles.md |
| 21 | |
| 22 | # use all rules |
| 23 | all |
| 24 | |
| 25 | # Exclude rule: Header levels should only increment by one level at a time |
| 26 | exclude_rule 'MD001' |
| 27 | |
| 28 | # Indent lists with 4 spaces |
| 29 | rule 'MD007', :indent => 4 |
| 30 | |
| 31 | # Exclude rule: Trailing spaces |
| 32 | exclude_rule 'MD009' |
| 33 | |
| 34 | # Don't enforce line length limitations |
| 35 | exclude_rule 'MD013' |
| 36 | |
| 37 | # Allow ! and ? as trailing punctuation in headers |
| 38 | rule 'MD026', :punctuation => '.,;:' |
| 39 | |
| 40 | # Exclude rule: Multiple spaces after blockquote symbol |
| 41 | exclude_rule 'MD027' |
| 42 | |
| 43 | # Numbered lists should have the correct order |
| 44 | rule 'MD029', :style => "ordered" |
| 45 | |
| 46 | # Exclude rule: Fenced code blocks should be surrounded by blank lines |
| 47 | exclude_rule 'MD031' |
| 48 | |
| 49 | # Exclude rule: Emphasis used instead of a header |
| 50 | exclude_rule 'MD036' |
| 51 | |
| 52 | # Gitbook won't care about multiple blank lines |
| 53 | exclude_rule 'MD012' |
Matteo Scandolo | 8419c08 | 2019-03-11 13:54:44 -0700 | [diff] [blame] | 54 | |
| 55 | # Gitbook does not care about bare URLs |
| 56 | exclude_rule 'MD034' |
| 57 | |
| 58 | # This is not true in case of "includes" placeholder |
| 59 | exclude_rule 'MD041' |