Update MD026/MD030 to report fixInfo for violations.

This commit is contained in:
David Anson 2019-09-11 22:59:42 -07:00
parent 00a7e765ec
commit 0502e370de
5 changed files with 53 additions and 17 deletions

View file

@ -6,7 +6,7 @@
"ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/Rules.md#md030",
"errorDetail": "Expected: 1; Actual: 0",
"errorContext": null,
"errorRange": null
"errorRange": [1, 1]
},
{
"lineNumber": 5,
@ -15,7 +15,7 @@
"ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/Rules.md#md030",
"errorDetail": "Expected: 1; Actual: 0",
"errorContext": null,
"errorRange": null
"errorRange": [1, 2]
},
{
"lineNumber": 11,

View file

@ -23,3 +23,10 @@
## Heading/Full-Width {MD026}
## Heading/Full-Width {MD026}
<!-- markdownlint-disable heading-style -->
## Heading {MD026} alternate ? ##
Heading {MD026} alternate too ?
-------------------------------

View file

@ -34,7 +34,7 @@ List with multiple paragraphs and incorrect spacing
* Foo {MD030}
Here is the second paragraph
Here is the second paragraph
* Bar {MD030}