Update MD037/no-space-in-emphasis to provide same range as fixInfo for consistency with other "no-space-in-" rules.

This commit is contained in:
David Anson 2025-08-21 21:36:20 -07:00
parent 371a35f62f
commit 2c97373fb5
4 changed files with 373 additions and 370 deletions

View file

@ -405,7 +405,7 @@ test("resultFormattingV3", (t) => new Promise((resolve) => {
"ruleInformation": `${homepage}/blob/v${version}/doc/md037.md`,
"errorDetail": null,
"errorContext": "* e",
"errorRange": [ 6, 3 ],
"errorRange": [ 7, 1 ],
"fixInfo": {
"editColumn": 7,
"deleteCount": 1
@ -418,7 +418,7 @@ test("resultFormattingV3", (t) => new Promise((resolve) => {
"ruleInformation": `${homepage}/blob/v${version}/doc/md037.md`,
"errorDetail": null,
"errorContext": "s *",
"errorRange": [ 15, 3 ],
"errorRange": [ 16, 1 ],
"fixInfo": {
"editColumn": 16,
"deleteCount": 1