mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Add MD005, MD007 with tests.
This commit is contained in:
parent
5d9b32e8dc
commit
9eb3eb9083
5 changed files with 63 additions and 0 deletions
6
test/bulleted_list_2_space_indent.json
Normal file
6
test/bulleted_list_2_space_indent.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"default": true,
|
||||
"MD007": {
|
||||
"indent": 4
|
||||
}
|
||||
}
|
||||
6
test/bulleted_list_2_space_indent.md
Normal file
6
test/bulleted_list_2_space_indent.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
This is a document where the lists are indented by 2 spaces, but the style is
|
||||
set to 4 space indents for lists:
|
||||
|
||||
* Test X
|
||||
* Test Y {MD007}
|
||||
* Test Z {MD007}
|
||||
3
test/bulleted_list_4_space_indent.md
Normal file
3
test/bulleted_list_4_space_indent.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
* Test X
|
||||
* Test Y {MD007}
|
||||
* Test Z {MD007}
|
||||
4
test/inconsistent_bullet_indent_same_level.md
Normal file
4
test/inconsistent_bullet_indent_same_level.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
* Item
|
||||
* Item {MD007}
|
||||
* Item {MD005}
|
||||
* Item
|
||||
Loading…
Add table
Add a link
Reference in a new issue