mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
Add new rules MD049/MD050 to detailed-results-* test files.
This commit is contained in:
parent
610b17e1a1
commit
9c60343692
3 changed files with 82 additions and 2 deletions
|
|
@ -28,4 +28,18 @@ Fenced code
|
||||||
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
|
Missing newline character
|
||||||
|
|
@ -28,4 +28,18 @@ Fenced code
|
||||||
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
|
Missing newline character
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,7 @@
|
||||||
"fixInfo": null
|
"fixInfo": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lineNumber": 31,
|
"lineNumber": 45,
|
||||||
"ruleNames": [
|
"ruleNames": [
|
||||||
"MD043",
|
"MD043",
|
||||||
"required-headings",
|
"required-headings",
|
||||||
|
|
@ -178,7 +178,7 @@
|
||||||
"fixInfo": null
|
"fixInfo": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lineNumber": 31,
|
"lineNumber": 45,
|
||||||
"ruleNames": [
|
"ruleNames": [
|
||||||
"MD047",
|
"MD047",
|
||||||
"single-trailing-newline"
|
"single-trailing-newline"
|
||||||
|
|
@ -208,5 +208,57 @@
|
||||||
"errorContext": null,
|
"errorContext": null,
|
||||||
"errorRange": null,
|
"errorRange": null,
|
||||||
"fixInfo": 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"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue