mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Improve highlighting for MD044/proper-names, add more tests.
This commit is contained in:
parent
1668207213
commit
7acb3d72fd
4 changed files with 38 additions and 8 deletions
|
|
@ -5,3 +5,9 @@ An [empty]() link
|
|||
An [empty](#) link with fragment
|
||||
|
||||
This is a test file for the MARKDOWNLINT package.
|
||||
|
||||
This is a paragraph
|
||||
about Markdownlint
|
||||
that capitalizes the
|
||||
name wrong twice:
|
||||
MarkDownLint.
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
"errorRange": [4, 10]
|
||||
},
|
||||
{
|
||||
"lineNumber": 8,
|
||||
"lineNumber": 14,
|
||||
"ruleName": "MD043",
|
||||
"ruleAlias": "required-headers",
|
||||
"ruleDescription": "Required header structure",
|
||||
|
|
@ -42,6 +42,24 @@
|
|||
"ruleDescription": "Proper names should have the correct capitalization",
|
||||
"errorDetail": "Expected: markdownlint; Actual: MARKDOWNLINT",
|
||||
"errorContext": null,
|
||||
"errorRange": null
|
||||
"errorRange": [29, 12]
|
||||
},
|
||||
{
|
||||
"lineNumber": 10,
|
||||
"ruleName": "MD044",
|
||||
"ruleAlias": "proper-names",
|
||||
"ruleDescription": "Proper names should have the correct capitalization",
|
||||
"errorDetail": "Expected: markdownlint; Actual: Markdownlint",
|
||||
"errorContext": null,
|
||||
"errorRange": [7, 12]
|
||||
},
|
||||
{
|
||||
"lineNumber": 13,
|
||||
"ruleName": "MD044",
|
||||
"ruleAlias": "proper-names",
|
||||
"ruleDescription": "Proper names should have the correct capitalization",
|
||||
"errorDetail": "Expected: markdownlint; Actual: MarkDownLint",
|
||||
"errorContext": null,
|
||||
"errorRange": [1, 12]
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue