mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-07 16:38:50 +01:00
Update MD026/no-trailing-punctuation to handle empty punctuation paramater, escape for RegExp (fixes #205).
This commit is contained in:
parent
d336a11665
commit
91b4fcd55f
6 changed files with 39 additions and 13 deletions
6
test/heading_trailing_punctuation_empty.json
Normal file
6
test/heading_trailing_punctuation_empty.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"default": true,
|
||||
"MD026": {
|
||||
"punctuation": ""
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue