@@ -78217,6 +78217,119 @@ exports[`markdownlint-test-scenarios.mjs > table-pipe-style-explicit-none.md 1`]
7821778217}
7821878218`;
7821978219
78220+ exports[`markdownlint-test-scenarios.mjs > table-pipe-style-explicit-per-table.md 1`] = `
78221+ {
78222+ "errors": [
78223+ {
78224+ "lineNumber": 8,
78225+ "ruleNames": [
78226+ "MD055",
78227+ "table-pipe-style"
78228+ ],
78229+ "ruleDescription": "Table pipe style",
78230+ "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md055.md",
78231+ "errorDetail": "Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe",
78232+ "errorContext": null,
78233+ "errorRange": [
78234+ 14,
78235+ 1
78236+ ],
78237+ "fixInfo": null,
78238+ "severity": "error"
78239+ },
78240+ {
78241+ "lineNumber": 15,
78242+ "ruleNames": [
78243+ "MD055",
78244+ "table-pipe-style"
78245+ ],
78246+ "ruleDescription": "Table pipe style",
78247+ "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md055.md",
78248+ "errorDetail": "Expected: no_leading_or_trailing; Actual: trailing_only; Unexpected trailing pipe",
78249+ "errorContext": null,
78250+ "errorRange": [
78251+ 14,
78252+ 1
78253+ ],
78254+ "fixInfo": null,
78255+ "severity": "error"
78256+ },
78257+ {
78258+ "lineNumber": 22,
78259+ "ruleNames": [
78260+ "MD055",
78261+ "table-pipe-style"
78262+ ],
78263+ "ruleDescription": "Table pipe style",
78264+ "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md055.md",
78265+ "errorDetail": "Expected: leading_only; Actual: no_leading_or_trailing; Missing leading pipe",
78266+ "errorContext": null,
78267+ "errorRange": [
78268+ 3,
78269+ 1
78270+ ],
78271+ "fixInfo": null,
78272+ "severity": "error"
78273+ },
78274+ {
78275+ "lineNumber": 29,
78276+ "ruleNames": [
78277+ "MD055",
78278+ "table-pipe-style"
78279+ ],
78280+ "ruleDescription": "Table pipe style",
78281+ "ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md055.md",
78282+ "errorDetail": "Expected: trailing_only; Actual: no_leading_or_trailing; Missing trailing pipe",
78283+ "errorContext": null,
78284+ "errorRange": [
78285+ 12,
78286+ 1
78287+ ],
78288+ "fixInfo": null,
78289+ "severity": "error"
78290+ }
78291+ ],
78292+ "fixed": [
78293+ "# Table Pipe Style Per Table",
78294+ "",
78295+ "## Style: both {MD055:+5}",
78296+ "",
78297+ "| Table | Heading |",
78298+ "| ----- | ------- |",
78299+ "| Cell | Cell |",
78300+ "| Cell | Cell",
78301+ "",
78302+ "## Style: none {MD055:+5}",
78303+ "",
78304+ "Table | Heading",
78305+ "----- | -------",
78306+ "Cell | Cell",
78307+ "Cell | Cell |",
78308+ "",
78309+ "## Style: leading {MD055:+5}",
78310+ "",
78311+ "| Table | Heading",
78312+ "| ----- | -------",
78313+ "| Cell | Cell",
78314+ " Cell | Cell",
78315+ "",
78316+ "## Style: trailing {MD055:+5}",
78317+ "",
78318+ "Table | Heading |",
78319+ "----- | ------- |",
78320+ "Cell | Cell |",
78321+ "Cell | Cell",
78322+ "",
78323+ "<!-- markdownlint-configure-file {",
78324+ " \\"table-pipe-style\\": {",
78325+ " \\"style\\": \\"per_table\\"",
78326+ " }",
78327+ "} -->",
78328+ ""
78329+ ]
78330+ }
78331+ `;
78332+
7822078333exports[`markdownlint-test-scenarios.mjs > table-pipe-style-explicit-trailing.md 1`] = `
7822178334{
7822278335 "errors": [
0 commit comments