Add test cases for empty table cells.
Some checks failed
Checkers / linkcheck (push) Has been cancelled
Checkers / spellcheck (push) Has been cancelled
CI / build (20, macos-latest) (push) Has been cancelled
CI / build (20, ubuntu-latest) (push) Has been cancelled
CI / build (20, windows-latest) (push) Has been cancelled
CI / build (22, macos-latest) (push) Has been cancelled
CI / build (22, ubuntu-latest) (push) Has been cancelled
CI / build (22, windows-latest) (push) Has been cancelled
CI / build (24, macos-latest) (push) Has been cancelled
CI / build (24, ubuntu-latest) (push) Has been cancelled
CI / build (24, windows-latest) (push) Has been cancelled
CI / pnpm (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
TestRepos / build (latest, ubuntu-latest) (push) Has been cancelled
UpdateTestRepos / update (push) Has been cancelled

This commit is contained in:
David Anson 2025-12-05 19:10:44 -08:00
parent 9ea058cf87
commit a8615a3ca4
4 changed files with 116 additions and 1 deletions

View file

@ -1101,7 +1101,7 @@ test("readme", async(t) => {
});
test("validateJsonUsingConfigSchemaStrict", async(t) => {
t.plan(223);
t.plan(224);
// @ts-ignore
const ajv = new Ajv(ajvOptions);
const validateSchemaStrict = ajv.compile(configSchemaStrict);

View file

@ -68518,6 +68518,68 @@ Generated by [AVA](https://avajs.dev).
`,
}
## table-column-style-empty-cells.md
> Snapshot 1
{
errors: [],
fixed: `# Table Column Style - Empty Cells␊
## Aligned / Edge Pipes␊
| Heading | Heading | Heading |␊
| ------- | --------- | ------- |␊
| | Text text | Text |␊
| Text | | Text |␊
| Text | Text text | |␊
## Aligned / No Edge Pipes␊
Heading | Heading | Heading␊
------- | --------- | -------␊
Text | Text text | Text␊
Text | | Text␊
Text | Text text | Text␊
## Compact / Edge Pipes␊
| Heading | Heading | Heading |␊
| - | - | - |␊
| | Text text | Text |␊
| Text text | | Text |␊
| Text | Text | |␊
## Compact / No Edge Pipes␊
Heading | Heading | Heading␊
-- | -- | --␊
Text | Text text | Text␊
Text text | | Text␊
Text | Text | Text␊
## Tight / Edge Pipes␊
|Heading|Heading|Heading|␊
|-|-|-|␊
||Text text|Text|␊
|Text text||Text|␊
|Text|Text||␊
## Tight / No Edge Pipes␊
Heading|Heading|Heading␊
-|-|-␊
Text|Text text|Text␊
Text text||Text␊
Text|Text|Text␊
<!-- markdownlint-configure-file {␊
"table-pipe-style": false␊
} -->␊
`,
}
## table-column-style-irregular-trailing-pipe.md
> Snapshot 1

View file

@ -0,0 +1,53 @@
# Table Column Style - Empty Cells
## Aligned / Edge Pipes
| Heading | Heading | Heading |
| ------- | --------- | ------- |
| | Text text | Text |
| Text | | Text |
| Text | Text text | |
## Aligned / No Edge Pipes
Heading | Heading | Heading
------- | --------- | -------
Text | Text text | Text
Text | | Text
Text | Text text | Text
## Compact / Edge Pipes
| Heading | Heading | Heading |
| - | - | - |
| | Text text | Text |
| Text text | | Text |
| Text | Text | |
## Compact / No Edge Pipes
Heading | Heading | Heading
-- | -- | --
Text | Text text | Text
Text text | | Text
Text | Text | Text
## Tight / Edge Pipes
|Heading|Heading|Heading|
|-|-|-|
||Text text|Text|
|Text text||Text|
|Text|Text||
## Tight / No Edge Pipes
Heading|Heading|Heading
-|-|-
Text|Text text|Text
Text text||Text
Text|Text|Text
<!-- markdownlint-configure-file {
"table-pipe-style": false
} -->