Add new rules MD049/MD050 to detailed-results-* test files.

This commit is contained in:
David Anson 2021-11-19 21:53:33 -08:00
parent 610b17e1a1
commit 9c60343692
3 changed files with 82 additions and 2 deletions

View file

@ -28,4 +28,18 @@ Fenced code
Fenced code
~~~
Mixed *emphasis* on _this_ line
Mixed __strong emphasis__ on **this** line
Inconsistent
emphasis _text
spanning_ many
lines
Inconsistent
strong **emphasis
spanning** many
lines
Missing newline character

View file

@ -28,4 +28,18 @@ Fenced code
Fenced code
~~~
Mixed *emphasis* on _this_ line
Mixed __strong emphasis__ on **this** line
Inconsistent
emphasis _text
spanning_ many
lines
Inconsistent
strong **emphasis
spanning** many
lines
Missing newline character

View file

@ -78,7 +78,7 @@
"fixInfo": null
},
{
"lineNumber": 31,
"lineNumber": 45,
"ruleNames": [
"MD043",
"required-headings",
@ -178,7 +178,7 @@
"fixInfo": null
},
{
"lineNumber": 31,
"lineNumber": 45,
"ruleNames": [
"MD047",
"single-trailing-newline"
@ -208,5 +208,57 @@
"errorContext": null,
"errorRange": null,
"fixInfo": null
},
{
"errorContext": null,
"errorDetail": "Expected: asterisk; Actual: underscore",
"errorRange": null,
"fixInfo": null,
"lineNumber": 31,
"ruleDescription": "Emphasis style should be consistent",
"ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/Rules.md#md049",
"ruleNames": [
"MD049",
"emphasis-style"
]
},
{
"errorContext": null,
"errorDetail": "Expected: asterisk; Actual: underscore",
"errorRange": null,
"fixInfo": null,
"lineNumber": 36,
"ruleDescription": "Emphasis style should be consistent",
"ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/Rules.md#md049",
"ruleNames": [
"MD049",
"emphasis-style"
]
},
{
"errorContext": null,
"errorDetail": "Expected: underscore; Actual: asterisk",
"errorRange": null,
"fixInfo": null,
"lineNumber": 33,
"ruleDescription": "Strong style should be consistent",
"ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/Rules.md#md050",
"ruleNames": [
"MD050",
"strong-style"
]
},
{
"errorContext": null,
"errorDetail": "Expected: underscore; Actual: asterisk",
"errorRange": null,
"fixInfo": null,
"lineNumber": 41,
"ruleDescription": "Strong style should be consistent",
"ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/Rules.md#md050",
"ruleNames": [
"MD050",
"strong-style"
]
}
]