blob: ab3dc5923458c78ad91c9ecf0b0f97560c9ac084 [file] [log] [blame]
Zack Williams4f2b80f2018-03-12 15:11:37 -07001# markdownlint(mdl) style rules
2# Rule descriptions:
3# https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md
4
5# Copyright 2017-present Open Networking Foundation
6#
7# Licensed under the Apache License, Version 2.0 (the "License");
8# you may not use this file except in compliance with the License.
9# You may obtain a copy of the License at
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# Unless required by applicable law or agreed to in writing, software
14# distributed under the License is distributed on an "AS IS" BASIS,
15# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16# See the License for the specific language governing permissions and
17# limitations under the License.
18
Zack Williamsbe0b2c72018-01-25 14:48:38 -070019# use all rules
20all
21
Zack Williams60d5a952018-01-30 12:07:01 -070022# Indent lists with 4 spaces
Zack Williamsbe0b2c72018-01-25 14:48:38 -070023rule 'MD007', :indent => 4
24
25# Don't enforce line length limitations within code blocks and tables
26rule 'MD013', :code_blocks => false, :tables => false
27
Zack Williams60d5a952018-01-30 12:07:01 -070028# Numbered lists should have the correct order
Zack Williamsbe0b2c72018-01-25 14:48:38 -070029rule 'MD029', :style => "ordered"
30
Zack Williams60d5a952018-01-30 12:07:01 -070031# Allow ! and ? as trailing punctuation in headers
32rule 'MD026', :punctuation => '.,;:'
33