mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Update MD007/ul-indent to report/fix for all unordered list item groupings.
This commit is contained in:
parent
3981bc7897
commit
3e91da338c
9 changed files with 143 additions and 37 deletions
|
@ -22,7 +22,7 @@ module.exports.inlineCommentRe = inlineCommentRe;
|
|||
|
||||
// Regular expressions for range matching
|
||||
module.exports.bareUrlRe = /(?:http|ftp)s?:\/\/[^\s]*/ig;
|
||||
module.exports.listItemMarkerRe = /^[\s>]*(?:[*+-]|\d+[.)])\s+/;
|
||||
module.exports.listItemMarkerRe = /^([\s>]*)(?:[*+-]|\d+[.)])\s+/;
|
||||
module.exports.orderedListItemMarkerRe = /^[\s>]*0*(\d+)[.)]/;
|
||||
|
||||
// readFile options for reading with the UTF-8 encoding
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue