mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-18 15:00:13 +01:00
Quote all JSON keys for consistency.
This commit is contained in:
parent
0ca8bc7bb6
commit
23404f95ac
1 changed files with 20 additions and 20 deletions
40
README.md
40
README.md
|
|
@ -371,8 +371,8 @@ Output:
|
||||||
{
|
{
|
||||||
"good.md": {},
|
"good.md": {},
|
||||||
"bad.md": {
|
"bad.md": {
|
||||||
MD010: [ 3 ],
|
"MD010": [ 3 ],
|
||||||
MD018: [ 1, 3 ]
|
"MD018": [ 1, 3 ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
@ -403,24 +403,24 @@ And the `result` object becomes:
|
||||||
{
|
{
|
||||||
"good.md": [],
|
"good.md": [],
|
||||||
"bad.md": [
|
"bad.md": [
|
||||||
{ lineNumber: 3,
|
{ "lineNumber": 3,
|
||||||
ruleName: "MD010",
|
"ruleName": "MD010",
|
||||||
ruleAlias: "no-hard-tabs",
|
"ruleAlias": "no-hard-tabs",
|
||||||
ruleDescription: "Hard tabs",
|
"ruleDescription": "Hard tabs",
|
||||||
errorDetail: "Column: 17",
|
"errorDetail": "Column: 17",
|
||||||
errorContext: null },
|
"errorContext": null },
|
||||||
{ lineNumber: 1,
|
{ "lineNumber": 1,
|
||||||
ruleName: "MD018",
|
"ruleName": "MD018",
|
||||||
ruleAlias: "no-missing-space-atx",
|
"ruleAlias": "no-missing-space-atx",
|
||||||
ruleDescription: "No space after hash on atx style header",
|
"ruleDescription": "No space after hash on atx style header",
|
||||||
errorDetail: null,
|
"errorDetail": null,
|
||||||
errorContext: "#bad.md" },
|
"errorContext": "#bad.md" },
|
||||||
{ lineNumber: 3,
|
{ "lineNumber": 3,
|
||||||
ruleName: "MD018",
|
"ruleName": "MD018",
|
||||||
ruleAlias: "no-missing-space-atx",
|
"ruleAlias": "no-missing-space-atx",
|
||||||
ruleDescription: "No space after hash on atx style header",
|
"ruleDescription": "No space after hash on atx style header",
|
||||||
errorDetail: null,
|
"errorDetail": null,
|
||||||
errorContext: "#This file fails\tsome rules." }
|
"errorContext": "#This file fails\tsome rules." }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue