mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Allow question mark by default for MD026/no-trailing-punctuation (fixes #276).
This commit is contained in:
parent
3827842930
commit
6c1bc8ecb5
8 changed files with 30 additions and 16 deletions
|
|
@ -222,6 +222,14 @@ rules.forEach(function forRule(rule) {
|
|||
};
|
||||
break;
|
||||
case "MD026":
|
||||
scheme.properties = {
|
||||
"punctuation": {
|
||||
"description": "Punctuation characters",
|
||||
"type": "string",
|
||||
"default": ".,;:!。,;:!"
|
||||
}
|
||||
};
|
||||
break;
|
||||
case "MD036":
|
||||
scheme.properties = {
|
||||
"punctuation": {
|
||||
|
|
|
|||
|
|
@ -763,7 +763,7 @@
|
|||
"punctuation": {
|
||||
"description": "Punctuation characters",
|
||||
"type": "string",
|
||||
"default": ".,;:!?。,;:!?"
|
||||
"default": ".,;:!。,;:!"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
|
|
@ -779,7 +779,7 @@
|
|||
"punctuation": {
|
||||
"description": "Punctuation characters",
|
||||
"type": "string",
|
||||
"default": ".,;:!?。,;:!?"
|
||||
"default": ".,;:!。,;:!"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue