mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Add MD029 with tests.
This commit is contained in:
parent
35067149c9
commit
5591cf4587
5 changed files with 58 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"default": true,
|
||||
"MD004": false
|
||||
"MD004": false,
|
||||
"MD029": false
|
||||
}
|
||||
|
|
|
|||
13
test/ordered_list_item_prefix.md
Normal file
13
test/ordered_list_item_prefix.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
Good list:
|
||||
|
||||
1. Do this.
|
||||
1. Do that.
|
||||
1. ???
|
||||
1. Profit!
|
||||
|
||||
Bad list:
|
||||
|
||||
1. Do this.
|
||||
2. Do nothing. {MD029}
|
||||
3. ??? {MD029}
|
||||
4. Failed! {MD029}
|
||||
6
test/ordered_list_item_prefix_ordered.json
Normal file
6
test/ordered_list_item_prefix_ordered.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"default": true,
|
||||
"MD029": {
|
||||
"style": "ordered"
|
||||
}
|
||||
}
|
||||
13
test/ordered_list_item_prefix_ordered.md
Normal file
13
test/ordered_list_item_prefix_ordered.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
Good list:
|
||||
|
||||
1. Do this.
|
||||
2. Do that.
|
||||
3. ???
|
||||
4. Profit!
|
||||
|
||||
Bad list:
|
||||
|
||||
1. Do this.
|
||||
1. Do nothing. {MD029}
|
||||
1. ??? {MD029}
|
||||
1. Failed! {MD029}
|
||||
Loading…
Add table
Add a link
Reference in a new issue