Add rule MD056/table-column-count (fixes #92).

This commit is contained in:
David Anson 2024-01-04 23:07:55 -08:00
parent f694a56254
commit 30d62f19ac
26 changed files with 1748 additions and 298 deletions

View file

@ -109,6 +109,10 @@ Strong **with** different style {MD050}
|--------|--------|
{MD055} | cell |
| table | header |
|---------|--------|
| {MD056} |
<!-- markdownlint-configure-file {
"required-headings": {
"headings": [

View file

@ -83,7 +83,7 @@ test("projectFiles", (t) => {
"schema/*.md"
]))
.then((files) => {
t.is(files.length, 59);
t.is(files.length, 60);
const options = {
files,
"config": require("../.markdownlint.json")
@ -427,120 +427,114 @@ test("styleFiles", async(t) => {
}
});
test("styleAll", (t) => new Promise((resolve) => {
t.plan(2);
test("styleAll", async(t) => {
t.plan(1);
const options = {
"files": [ "./test/break-all-the-rules.md" ],
"config": require("../style/all.json"),
"noInlineConfig": true,
"resultVersion": 0
};
markdownlint(options, function callback(err, actualResult) {
t.falsy(err);
const expectedResult = {
"./test/break-all-the-rules.md": {
"MD001": [ 3 ],
"MD003": [ 5, 31 ],
"MD004": [ 8 ],
"MD005": [ 12 ],
"MD007": [ 8, 11 ],
"MD009": [ 14 ],
"MD010": [ 14 ],
"MD011": [ 16 ],
"MD012": [ 18 ],
"MD013": [ 21 ],
"MD014": [ 23 ],
"MD018": [ 25 ],
"MD019": [ 27 ],
"MD020": [ 29 ],
"MD021": [ 31 ],
"MD022": [ 86 ],
"MD023": [ 40 ],
"MD024": [ 35 ],
"MD026": [ 40 ],
"MD027": [ 42 ],
"MD028": [ 43 ],
"MD029": [ 47 ],
"MD030": [ 8 ],
"MD031": [ 50 ],
"MD032": [ 7, 8, 51 ],
"MD033": [ 55 ],
"MD034": [ 57 ],
"MD035": [ 61 ],
"MD036": [ 65 ],
"MD037": [ 67 ],
"MD038": [ 69 ],
"MD039": [ 71 ],
"MD040": [ 73 ],
"MD041": [ 1 ],
"MD042": [ 81 ],
"MD045": [ 85 ],
"MD046": [ 49, 73, 77 ],
"MD047": [ 130 ],
"MD048": [ 77 ],
"MD049": [ 90 ],
"MD050": [ 94 ],
"MD051": [ 96 ],
"MD052": [ 98 ],
"MD053": [ 100 ],
"MD055": [ 110 ]
}
};
// @ts-ignore
t.deepEqual(actualResult, expectedResult, "Undetected issues.");
resolve();
});
}));
const actualResult = await markdownlint.promises.markdownlint(options);
const expectedResult = {
"./test/break-all-the-rules.md": {
"MD001": [ 3 ],
"MD003": [ 5, 31 ],
"MD004": [ 8 ],
"MD005": [ 12 ],
"MD007": [ 8, 11 ],
"MD009": [ 14 ],
"MD010": [ 14 ],
"MD011": [ 16 ],
"MD012": [ 18 ],
"MD013": [ 21 ],
"MD014": [ 23 ],
"MD018": [ 25 ],
"MD019": [ 27 ],
"MD020": [ 29 ],
"MD021": [ 31 ],
"MD022": [ 86 ],
"MD023": [ 40 ],
"MD024": [ 35 ],
"MD026": [ 40 ],
"MD027": [ 42 ],
"MD028": [ 43 ],
"MD029": [ 47 ],
"MD030": [ 8 ],
"MD031": [ 50 ],
"MD032": [ 7, 8, 51 ],
"MD033": [ 55 ],
"MD034": [ 57 ],
"MD035": [ 61 ],
"MD036": [ 65 ],
"MD037": [ 67 ],
"MD038": [ 69 ],
"MD039": [ 71 ],
"MD040": [ 73 ],
"MD041": [ 1 ],
"MD042": [ 81 ],
"MD045": [ 85 ],
"MD046": [ 49, 73, 77 ],
"MD047": [ 134 ],
"MD048": [ 77 ],
"MD049": [ 90 ],
"MD050": [ 94 ],
"MD051": [ 96 ],
"MD052": [ 98 ],
"MD053": [ 100 ],
"MD055": [ 110 ],
"MD056": [ 114 ]
}
};
t.deepEqual(actualResult, expectedResult, "Undetected issues.");
});
test("styleRelaxed", (t) => new Promise((resolve) => {
t.plan(2);
test("styleRelaxed", async(t) => {
t.plan(1);
const options = {
"files": [ "./test/break-all-the-rules.md" ],
"config": require("../style/relaxed.json"),
"noInlineConfig": true,
"resultVersion": 0
};
markdownlint(options, function callback(err, actualResult) {
t.falsy(err);
const expectedResult = {
"./test/break-all-the-rules.md": {
"MD001": [ 3 ],
"MD003": [ 5, 31 ],
"MD004": [ 8 ],
"MD005": [ 12 ],
"MD011": [ 16 ],
"MD014": [ 23 ],
"MD018": [ 25 ],
"MD019": [ 27 ],
"MD020": [ 29 ],
"MD021": [ 31 ],
"MD022": [ 86 ],
"MD023": [ 40 ],
"MD024": [ 35 ],
"MD026": [ 40 ],
"MD029": [ 47 ],
"MD031": [ 50 ],
"MD032": [ 7, 8, 51 ],
"MD035": [ 61 ],
"MD036": [ 65 ],
"MD042": [ 81 ],
"MD045": [ 85 ],
"MD046": [ 49, 73, 77 ],
"MD047": [ 130 ],
"MD048": [ 77 ],
"MD049": [ 90 ],
"MD050": [ 94 ],
"MD051": [ 96 ],
"MD052": [ 98 ],
"MD053": [ 100 ],
"MD055": [ 110 ]
}
};
// @ts-ignore
t.deepEqual(actualResult, expectedResult, "Undetected issues.");
resolve();
});
}));
const actualResult = await markdownlint.promises.markdownlint(options);
const expectedResult = {
"./test/break-all-the-rules.md": {
"MD001": [ 3 ],
"MD003": [ 5, 31 ],
"MD004": [ 8 ],
"MD005": [ 12 ],
"MD011": [ 16 ],
"MD014": [ 23 ],
"MD018": [ 25 ],
"MD019": [ 27 ],
"MD020": [ 29 ],
"MD021": [ 31 ],
"MD022": [ 86 ],
"MD023": [ 40 ],
"MD024": [ 35 ],
"MD026": [ 40 ],
"MD029": [ 47 ],
"MD031": [ 50 ],
"MD032": [ 7, 8, 51 ],
"MD035": [ 61 ],
"MD036": [ 65 ],
"MD042": [ 81 ],
"MD045": [ 85 ],
"MD046": [ 49, 73, 77 ],
"MD047": [ 134 ],
"MD048": [ 77 ],
"MD049": [ 90 ],
"MD050": [ 94 ],
"MD051": [ 96 ],
"MD052": [ 98 ],
"MD053": [ 100 ],
"MD055": [ 110 ],
"MD056": [ 114 ]
}
};
t.deepEqual(actualResult, expectedResult, "Undetected issues.");
});
test("nullFrontMatter", (t) => new Promise((resolve) => {
t.plan(2);
@ -843,7 +837,7 @@ test("customFileSystemAsync", (t) => new Promise((resolve) => {
}));
test("readme", async(t) => {
t.plan(124);
t.plan(126);
const tagToRules = {};
for (const rule of rules) {
for (const tag of rule.tags) {
@ -1038,7 +1032,7 @@ test("validateConfigExampleJson", async(t) => {
});
test("allBuiltInRulesHaveValidUrl", (t) => {
t.plan(147);
t.plan(150);
for (const rule of rules) {
// @ts-ignore
t.truthy(rule.information);

View file

@ -2,7 +2,7 @@
|Pattern|Description|
|-------------|-----------------|
|`(?:\["'\](?<1>\[^"'\]*)["']|(?<1>\S+))`|{MD011}|
|`(?:\["'\](?<1>\[^"'\]*)["']|(?<1>\S+))`|{MD011}{MD056}|
|Pattern|Description|
|-------------|-----------------|

View file

@ -10,6 +10,7 @@ Generated by [AVA](https://avajs.dev).
`test-repos/dotnet-docs/docs/core/compatibility/6.0.md: 74: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/core/compatibility/6.0.md: 77: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/core/compatibility/cryptography/5.0/instantiating-default-implementations-of-cryptographic-abstractions-not-supported.md: 88: MD056/table-column-count Table column count [Expected: 3; Actual: 2; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/core/compatibility/globalization/5.0/listseparator-value-change.md: 19: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊
test-repos/dotnet-docs/docs/core/compatibility/globalization/5.0/listseparator-value-change.md: 19: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/core/dependency-loading/loading-managed.md: 23: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: trailing_only; Missing leading pipe]␊
@ -18,6 +19,8 @@ Generated by [AVA](https://avajs.dev).
test-repos/dotnet-docs/docs/core/dependency-loading/loading-managed.md: 29: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: trailing_only; Missing leading pipe]␊
test-repos/dotnet-docs/docs/core/dependency-loading/loading-managed.md: 30: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: trailing_only; Missing leading pipe]␊
test-repos/dotnet-docs/docs/core/diagnostics/collect-dumps-crash.md: 19: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/core/diagnostics/collect-dumps-crash.md: 19: MD056/table-column-count Table column count [Expected: 3; Actual: 2; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/core/diagnostics/collect-dumps-crash.md: 21: MD056/table-column-count Table column count [Expected: 3; Actual: 2; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/core/diagnostics/dotnet-dump.md: 151: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/core/diagnostics/dotnet-dump.md: 152: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/core/diagnostics/dotnet-dump.md: 153: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
@ -210,6 +213,10 @@ Generated by [AVA](https://avajs.dev).
test-repos/dotnet-docs/docs/core/diagnostics/sos-debugging-extension.md: 231: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/core/diagnostics/sos-debugging-extension.md: 232: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/core/diagnostics/sos-debugging-extension.md: 233: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/core/extensions/globalization.md: 106: MD056/table-column-count Table column count [Expected: 3; Actual: 2; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/core/project-sdk/overview.md: 21: MD056/table-column-count Table column count [Expected: 3; Actual: 2; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/core/project-sdk/overview.md: 22: MD056/table-column-count Table column count [Expected: 3; Actual: 2; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/core/project-sdk/overview.md: 23: MD056/table-column-count Table column count [Expected: 3; Actual: 2; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/core/runtime-config/wpf.md: 18: MD055/table-pipe-style Table pipe style [Expected: leading_only; Actual: leading_and_trailing; Unexpected trailing pipe]␊
test-repos/dotnet-docs/docs/core/runtime-config/wpf.md: 19: MD055/table-pipe-style Table pipe style [Expected: leading_only; Actual: leading_and_trailing; Unexpected trailing pipe]␊
test-repos/dotnet-docs/docs/core/runtime-config/wpf.md: 20: MD055/table-pipe-style Table pipe style [Expected: leading_only; Actual: leading_and_trailing; Unexpected trailing pipe]␊
@ -217,6 +224,8 @@ Generated by [AVA](https://avajs.dev).
test-repos/dotnet-docs/docs/core/runtime-discovery/troubleshoot-app-launch.md: 144: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/core/runtime-discovery/troubleshoot-app-launch.md: 151: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊
test-repos/dotnet-docs/docs/core/runtime-discovery/troubleshoot-app-launch.md: 151: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/core/runtime-discovery/troubleshoot-app-launch.md: 144: MD056/table-column-count Table column count [Expected: 2; Actual: 1; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/core/runtime-discovery/troubleshoot-app-launch.md: 151: MD056/table-column-count Table column count [Expected: 2; Actual: 1; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/core/tools/dotnet.md: 183: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊
test-repos/dotnet-docs/docs/core/tools/dotnet.md: 183: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/core/tools/dotnet.md: 184: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊
@ -290,6 +299,7 @@ Generated by [AVA](https://avajs.dev).
test-repos/dotnet-docs/docs/csharp/linq/query-a-collection-of-objects.md: 85: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: trailing_only; Missing leading pipe]␊
test-repos/dotnet-docs/docs/csharp/linq/query-a-collection-of-objects.md: 107: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: trailing_only; Missing leading pipe]␊
test-repos/dotnet-docs/docs/csharp/programming-guide/concepts/index.md: 14: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: trailing_only; Missing leading pipe]␊
test-repos/dotnet-docs/docs/csharp/programming-guide/concepts/index.md: 14: MD056/table-column-count Table column count [Expected: 2; Actual: 1; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/csharp/programming-guide/strings/index.md: 82: MD055/table-pipe-style Table pipe style [Expected: trailing_only; Actual: leading_and_trailing; Unexpected leading pipe]␊
test-repos/dotnet-docs/docs/csharp/programming-guide/strings/index.md: 83: MD055/table-pipe-style Table pipe style [Expected: trailing_only; Actual: leading_and_trailing; Unexpected leading pipe]␊
test-repos/dotnet-docs/docs/csharp/programming-guide/strings/index.md: 84: MD055/table-pipe-style Table pipe style [Expected: trailing_only; Actual: leading_and_trailing; Unexpected leading pipe]␊
@ -315,11 +325,46 @@ Generated by [AVA](https://avajs.dev).
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/poscommon-class.md: 59: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: trailing_only; Missing leading pipe]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/poscommon-class.md: 64: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/poscommon-class.md: 65: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: trailing_only; Missing leading pipe]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/poscommon-class.md: 46: MD056/table-column-count Table column count [Expected: 3; Actual: 1; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/poscommon-class.md: 50: MD056/table-column-count Table column count [Expected: 3; Actual: 1; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/poscommon-class.md: 54: MD056/table-column-count Table column count [Expected: 3; Actual: 1; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/poscommon-class.md: 59: MD056/table-column-count Table column count [Expected: 3; Actual: 1; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/poscommon-class.md: 65: MD056/table-column-count Table column count [Expected: 3; Actual: 1; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 33: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 34: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 35: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 36: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 37: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 38: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 40: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 42: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 43: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 44: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 45: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 46: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 47: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 48: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 49: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 50: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 51: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 52: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 54: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 55: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 58: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 60: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 62: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 64: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 66: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 67: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/additional-apis/pos-for-net/supported-device-classes.md: 68: MD056/table-column-count Table column count [Expected: 4; Actual: 3; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/configure-apps/file-schema/runtime/appcontextswitchoverrides-element.md: 84: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: trailing_only; Missing leading pipe]␊
test-repos/dotnet-docs/docs/framework/data/adonet/ef/language-reference/supported-and-unsupported-linq-methods-linq-to-entities.md: 139: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: trailing_only; Missing leading pipe]␊
test-repos/dotnet-docs/docs/framework/get-started/index.md: 77: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/framework/tools/al-exe-assembly-linker.md: 50: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/framework/tools/caspol-exe-code-access-security-policy-tool.md: 55: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/framework/tools/mage-exe-manifest-generation-and-editing-tool.md: 78: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: trailing_only; Missing leading pipe]␊
test-repos/dotnet-docs/docs/framework/tools/sn-exe-strong-name-tool.md: 50: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/framework/tools/sn-exe-strong-name-tool.md: 54: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/framework/unmanaged-api/wmi/beginenumeration.md: 71: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: trailing_only; Missing leading pipe]␊
test-repos/dotnet-docs/docs/framework/unmanaged-api/wmi/beginenumeration.md: 78: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: trailing_only; Missing leading pipe]␊
test-repos/dotnet-docs/docs/framework/unmanaged-api/wmi/beginenumeration.md: 88: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: trailing_only; Missing leading pipe]␊
@ -333,7 +378,11 @@ Generated by [AVA](https://avajs.dev).
test-repos/dotnet-docs/docs/framework/unmanaged-api/wmi/putmethod.md: 64: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/framework/unmanaged-api/wmi/qualifierset-beginenumeration.md: 67: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/framework/unmanaged-api/wmi/qualifierset-getnames.md: 50: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/framework/unmanaged-api/wmi/spawnderivedclass.md: 56: MD056/table-column-count Table column count [Expected: 3; Actual: 2; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/wcf/feature-details/working-with-certificates.md: 144: MD056/table-column-count Table column count [Expected: 2; Actual: 1; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/framework/wcf/feature-details/working-with-certificates.md: 145: MD056/table-column-count Table column count [Expected: 2; Actual: 1; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/fsharp/language-reference/caller-information.md: 14: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/fsharp/language-reference/compiler-options.md: 23: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/fsharp/language-reference/keyword-reference.md: 200: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊
test-repos/dotnet-docs/docs/fsharp/language-reference/keyword-reference.md: 200: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/fsharp/language-reference/keyword-reference.md: 201: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊
@ -356,9 +405,27 @@ Generated by [AVA](https://avajs.dev).
test-repos/dotnet-docs/docs/fsharp/language-reference/keyword-reference.md: 209: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/fsharp/language-reference/keyword-reference.md: 210: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊
test-repos/dotnet-docs/docs/fsharp/language-reference/keyword-reference.md: 210: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/fsharp/language-reference/keyword-reference.md: 137: MD056/table-column-count Table column count [Expected: 3; Actual: 5; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/fsharp/language-reference/plaintext-formatting.md: 104: MD056/table-column-count Table column count [Expected: 3; Actual: 2; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/fsharp/style-guide/component-design-guidelines.md: 69: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/fsharp/style-guide/component-design-guidelines.md: 81: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/fsharp/style-guide/component-design-guidelines.md: 71: MD056/table-column-count Table column count [Expected: 5; Actual: 7; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/fsharp/style-guide/component-design-guidelines.md: 79: MD056/table-column-count Table column count [Expected: 5; Actual: 4; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/fundamentals/apicompat/diagnostic-ids.md: 44: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/fundamentals/code-analysis/includes/excluded-symbol-names.md: 20: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/fundamentals/code-analysis/includes/excluded-symbol-names.md: 22: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/fundamentals/code-analysis/includes/excluded-type-names-with-derived-types.md: 19: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/fundamentals/code-analysis/includes/excluded-type-names-with-derived-types.md: 21: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/fundamentals/code-analysis/quality-rules/ca1008.md: 84: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/fundamentals/code-analysis/quality-rules/ca1031.md: 74: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/fundamentals/code-analysis/quality-rules/ca1031.md: 76: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/fundamentals/code-analysis/quality-rules/ca1062.md: 114: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/fundamentals/code-analysis/quality-rules/ca1062.md: 116: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/fundamentals/code-analysis/quality-rules/ca1501.md: 113: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/fundamentals/code-analysis/quality-rules/ca1501.md: 115: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/fundamentals/code-analysis/quality-rules/ca1710.md: 145: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/fundamentals/code-analysis/quality-rules/ca2241.md: 71: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/fundamentals/code-analysis/quality-rules/ca2241.md: 73: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/fundamentals/diagnostics/runtime-loader-binder-events.md: 79: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/fundamentals/diagnostics/runtime-loader-binder-events.md: 81: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/fundamentals/diagnostics/runtime-loader-binder-events.md: 144: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
@ -374,8 +441,13 @@ Generated by [AVA](https://avajs.dev).
test-repos/dotnet-docs/docs/fundamentals/diagnostics/runtime-thread-events.md: 282: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/fundamentals/diagnostics/runtime-thread-events.md: 303: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/fundamentals/diagnostics/runtime-thread-events.md: 326: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/fundamentals/diagnostics/runtime-type-events.md: 18: MD056/table-column-count Table column count [Expected: 3; Actual: 2; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/fundamentals/runtime-libraries/system-text-encoding.md: 87: MD056/table-column-count Table column count [Expected: 6; Actual: 7; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/fundamentals/syslib-diagnostics/syslib0007.md: 28: MD056/table-column-count Table column count [Expected: 3; Actual: 2; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/iot/tutorials/adc.md: 57: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/iot/tutorials/adc.md: 58: MD056/table-column-count Table column count [Expected: 2; Actual: 1; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/iot/tutorials/lcd-display.md: 50: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/iot/tutorials/lcd-display.md: 51: MD056/table-column-count Table column count [Expected: 2; Actual: 1; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/machine-learning/how-to-guides/explain-machine-learning-model-permutation-feature-importance-ml-net.md: 27: MD055/table-pipe-style Table pipe style [Expected: leading_only; Actual: leading_and_trailing; Unexpected trailing pipe]␊
test-repos/dotnet-docs/docs/machine-learning/how-to-guides/explain-machine-learning-model-permutation-feature-importance-ml-net.md: 156: MD055/table-pipe-style Table pipe style [Expected: leading_only; Actual: leading_and_trailing; Unexpected trailing pipe]␊
test-repos/dotnet-docs/docs/machine-learning/how-to-guides/explain-machine-learning-model-permutation-feature-importance-ml-net.md: 157: MD055/table-pipe-style Table pipe style [Expected: leading_only; Actual: leading_and_trailing; Unexpected trailing pipe]␊
@ -405,12 +477,14 @@ Generated by [AVA](https://avajs.dev).
test-repos/dotnet-docs/docs/machine-learning/how-to-guides/prepare-data-ml-net.md: 337: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/machine-learning/how-to-guides/prepare-data-ml-net.md: 338: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/machine-learning/resources/metrics.md: 76: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/machine-learning/resources/transforms.md: 125: MD056/table-column-count Table column count [Expected: 3; Actual: 2; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/machine-learning/tutorials/sentiment-analysis-model-builder.md: 53: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊
test-repos/dotnet-docs/docs/machine-learning/tutorials/sentiment-analysis-model-builder.md: 53: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/machine-learning/tutorials/sentiment-analysis-model-builder.md: 54: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊
test-repos/dotnet-docs/docs/machine-learning/tutorials/sentiment-analysis-model-builder.md: 54: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/machine-learning/tutorials/sentiment-analysis-model-builder.md: 55: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊
test-repos/dotnet-docs/docs/machine-learning/tutorials/sentiment-analysis-model-builder.md: 55: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/standard/base-types/regular-expression-example-scanning-for-hrefs.md: 45: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/standard/base-types/regular-expression-language-quick-reference.md: 108: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊
test-repos/dotnet-docs/docs/standard/base-types/regular-expression-language-quick-reference.md: 108: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/standard/base-types/regular-expression-language-quick-reference.md: 109: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊
@ -419,19 +493,27 @@ Generated by [AVA](https://avajs.dev).
test-repos/dotnet-docs/docs/standard/base-types/regular-expression-language-quick-reference.md: 110: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/standard/base-types/regular-expression-language-quick-reference.md: 111: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊
test-repos/dotnet-docs/docs/standard/base-types/regular-expression-language-quick-reference.md: 111: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/standard/base-types/regular-expression-language-quick-reference.md: 99: MD056/table-column-count Table column count [Expected: 4; Actual: 5; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/standard/data/sqlite/connection-strings.md: 69: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/standard/data/sqlite/connection-strings.md: 71: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/standard/data/sqlite/connection-strings.md: 72: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/standard/exceptions/exception-class-and-properties.md: 25: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/standard/generics/math.md: 142: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/dotnet-docs/docs/standard/io/buffers.md: 55: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: trailing_only; Missing leading pipe]␊
test-repos/dotnet-docs/docs/standard/language-independence.md: 58: MD055/table-pipe-style Table pipe style [Expected: no_leading_or_trailing; Actual: trailing_only; Unexpected trailing pipe]␊
test-repos/dotnet-docs/docs/standard/language-independence.md: 59: MD055/table-pipe-style Table pipe style [Expected: no_leading_or_trailing; Actual: leading_only; Unexpected leading pipe]␊
test-repos/dotnet-docs/docs/standard/numerics.md: 72: MD056/table-column-count Table column count [Expected: 5; Actual: 4; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/standard/numerics.md: 73: MD056/table-column-count Table column count [Expected: 5; Actual: 4; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/standard/numerics.md: 74: MD056/table-column-count Table column count [Expected: 5; Actual: 4; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/standard/serialization/system-text-json/migrate-from-newtonsoft.md: 88: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊
test-repos/dotnet-docs/docs/standard/serialization/system-text-json/migrate-from-newtonsoft.md: 88: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/standard/serialization/system-text-json/migrate-from-newtonsoft.md: 137: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊
test-repos/dotnet-docs/docs/standard/serialization/system-text-json/migrate-from-newtonsoft.md: 137: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/standard/serialization/system-text-json/migrate-from-newtonsoft.md: 186: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊
test-repos/dotnet-docs/docs/standard/serialization/system-text-json/migrate-from-newtonsoft.md: 186: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/standard/serialization/system-text-json/migrate-from-newtonsoft.md: 88: MD056/table-column-count Table column count [Expected: 2; Actual: 1; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/standard/serialization/system-text-json/migrate-from-newtonsoft.md: 137: MD056/table-column-count Table column count [Expected: 2; Actual: 1; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/standard/serialization/system-text-json/migrate-from-newtonsoft.md: 186: MD056/table-column-count Table column count [Expected: 2; Actual: 1; Too few cells, row will be missing data]␊
test-repos/dotnet-docs/docs/visual-basic/language-reference/statements/end-keyword-statement.md: 61: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/visual-basic/language-reference/statements/end-keyword-statement.md: 62: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/dotnet-docs/docs/visual-basic/language-reference/statements/end-keyword-statement.md: 63: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊

View file

@ -8,4 +8,6 @@ Generated by [AVA](https://avajs.dev).
> Expected linting violations
''
`test-repos/mdn-content/files/en-us/web/css/@supports/index.md: 81: MD056/table-column-count Table column count [Expected: 2; Actual: 1; Too few cells, row will be missing data]␊
test-repos/mdn-content/files/en-us/web/css/@supports/index.md: 87: MD056/table-column-count Table column count [Expected: 2; Actual: 1; Too few cells, row will be missing data]␊
test-repos/mdn-content/files/en-us/web/css/@supports/index.md: 91: MD056/table-column-count Table column count [Expected: 2; Actual: 1; Too few cells, row will be missing data]`

View file

@ -441,7 +441,12 @@ Generated by [AVA](https://avajs.dev).
test-repos/pi-hole-docs/docs/core/pihole-command.md: 319: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊
test-repos/pi-hole-docs/docs/core/pihole-command.md: 319: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊
test-repos/pi-hole-docs/docs/core/pihole-command.md: 320: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe]␊
test-repos/pi-hole-docs/docs/core/pihole-command.md: 320: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]`
test-repos/pi-hole-docs/docs/core/pihole-command.md: 320: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe]␊
test-repos/pi-hole-docs/docs/regex/tutorial.md: 84: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/pi-hole-docs/docs/regex/tutorial.md: 85: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/pi-hole-docs/docs/regex/tutorial.md: 86: MD056/table-column-count Table column count [Expected: 2; Actual: 3; Too many cells, extra data will be missing]␊
test-repos/pi-hole-docs/docs/regex/tutorial.md: 137: MD056/table-column-count Table column count [Expected: 3; Actual: 4; Too many cells, extra data will be missing]␊
test-repos/pi-hole-docs/docs/regex/tutorial.md: 138: MD056/table-column-count Table column count [Expected: 3; Actual: 5; Too many cells, extra data will be missing]`
## https://github.com/v8/v8.dev
@ -503,6 +508,10 @@ Generated by [AVA](https://avajs.dev).
test-repos/v8-v8-dev/src/blog/pointer-compression.md: 333: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/v8-v8-dev/src/blog/pointer-compression.md: 334: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/v8-v8-dev/src/blog/pointer-compression.md: 335: MD055/table-pipe-style Table pipe style [Expected: leading_and_trailing; Actual: leading_only; Missing trailing pipe]␊
test-repos/v8-v8-dev/src/blog/pointer-compression.md: 198: MD056/table-column-count Table column count [Expected: 3; Actual: 4; Too many cells, extra data will be missing]␊
test-repos/v8-v8-dev/src/blog/pointer-compression.md: 333: MD056/table-column-count Table column count [Expected: 3; Actual: 4; Too many cells, extra data will be missing]␊
test-repos/v8-v8-dev/src/blog/pointer-compression.md: 334: MD056/table-column-count Table column count [Expected: 3; Actual: 4; Too many cells, extra data will be missing]␊
test-repos/v8-v8-dev/src/blog/pointer-compression.md: 335: MD056/table-column-count Table column count [Expected: 3; Actual: 4; Too many cells, extra data will be missing]␊
test-repos/v8-v8-dev/src/blog/understanding-ecmascript-part-1.md: 41: MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "> 3. Return \`? HasOwnProperty(..."]␊
test-repos/v8-v8-dev/src/blog/understanding-ecmascript-part-1.md: 55: MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "> 5. Return \`true\`."]␊
test-repos/v8-v8-dev/src/blog/understanding-ecmascript-part-1.md: 91: MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "> 1. Return \`! OrdinaryGetOwnP..."]␊
@ -598,6 +607,7 @@ Generated by [AVA](https://avajs.dev).
test-repos/webhintio-hint/packages/hint-performance-budget/README.md: 198: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "tcp handshake"] [Context: "[tcp handshake]: https://hpbn...."]␊
test-repos/webhintio-hint/packages/hint-strict-transport-security/README.md: 278: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "mod_mime"] [Context: "[mod_mime]: https://httpd.apac..."]␊
test-repos/webhintio-hint/packages/hint-x-content-type-options/README.md: 181: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "fetch spec issue"] [Context: "[fetch spec issue]: https://gi..."]␊
test-repos/webhintio-hint/packages/hint/docs/about/CONTRIBUTORS.md: 10: MD056/table-column-count Table column count [Expected: 3; Actual: 2; Too few cells, row will be missing data]␊
test-repos/webhintio-hint/packages/hint/docs/about/GOVERNANCE.md: 218: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "openjs foundation"] [Context: "[OpenJS Foundation]: https://o..."]␊
test-repos/webhintio-hint/packages/hint/docs/about/GOVERNANCE.md: 219: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "webhint org"] [Context: "[webhint org]: https://github...."]␊
test-repos/webhintio-hint/packages/hint/docs/contributor-guide/getting-started/architecture.md: 78: MD053/link-image-reference-definitions Link and image reference definitions should be needed [Unused link or image reference definition: "typescript"] [Context: "[typescript]: https://www.type..."]␊

File diff suppressed because it is too large Load diff

141
test/table-column-count.md Normal file
View file

@ -0,0 +1,141 @@
# Table Column Count
## Expected
| Table |
|-------|
| Cell |
| Cell |
| Cell |
| Table | Header |
|-------|--------|
| Cell | Cell |
| Cell | Cell |
| Cell | Cell |
| Table | Header | Header |
|-------|--------|--------|
| Cell | Cell | Cell |
| Cell | Cell | Cell |
| Cell | Cell | Cell |
Table | Header
-------|--------
Cell | Cell
{MD055:-4} {MD055:-3} {MD055:-2}
| Table | Header |
|-------|--------|
| Cell | Cell |
{MD009:-4} {MD009:-3} {MD009:-2}
## Blank
| Table |
|-------|
| |
| Cell |
| Table | Header | Header |
|-------|--------|--------|
| | Cell | Cell |
| Cell | | Cell |
| Cell | Cell | |
| | | |
## Too Few
| Table | Header |
|-------|--------|
| Cell |
| Cell | Cell |
| Cell |
{MD056:-4} {MD056:-2}
| Table | Header | Header |
|-------|--------|--------|
| Cell |
| Cell | Cell |
| Cell | Cell | Cell |
{MD056:-4} {MD056:-3}
Table | Header
-------|--------
Cell
{MD055:-4} {MD055:-3} {MD055:-2} {MD056:-2}
| Table | Header |
|-------|--------|
| Cell |
{MD009:-4} {MD009:-3} {MD009:-2} {MD056:-2}
## Too Many
| Table |
|-------|
| Cell |
| Cell | Cell |
| Cell |
{MD056:-3}
| Table | Header |
|-------|--------|
| Cell | Cell | Cell | Cell |
| Cell | Cell | Cell |
| Cell | Cell |
{MD056:-4} {MD056:-3}
| Table | Header | Header |
|-------|--------|--------|
| Cell | Cell | Cell | Cell |
| Cell | Cell | Cell |
| Cell | Cell | Cell | Cell | Cell |
{MD056:-4} {MD056:-2}
Table | Header
-------|--------
Cell | Cell | Cell
{MD055:-4} {MD055:-3} {MD055:-2} {MD056:-2}
| Table | Header |
|-------|--------|
| Cell | Cell | Cell |
{MD009:-4} {MD009:-3} {MD009:-2} {MD056:-2}
## Mixed
| Table |
|-------|
| Cell | Cell |
| Cell |
| Cell | Cell |
{MD056:-4} {MD056:-2}
| Table | Header |
|-------|--------|
| Cell | Cell | Cell |
| Cell |
| Cell | Cell |
{MD056:-4} {MD056:-3}
| Table | Header | Header |
|-------|--------|--------|
| Cell | Cell | Cell |
| Cell | Cell | Cell | Cell |
| Cell |
{MD056:-3} {MD056:-2}

View file

@ -6,7 +6,7 @@
}
} -->
## Missing in Heading Row
## Missing in Header Row
| Table | {MD055}
|-------|---------|
@ -19,111 +19,111 @@
## Missing in Separator Row
| Table | Heading |
|-------|---------
| Table | Header |
|-------|--------
{MD055:-2}
| Table | Heading |
-------|---------|
| Table | Header |
-------|--------|
{MD055:-2}
| Table | Heading |
-------|---------
| Table | Header |
-------|--------
{MD055:-2}
## Missing Leading and Trailing
{MD055} | Heading
---------|---------
{MD055} | Header
---------|--------
{MD055} | Cell
{MD055:-3}
{MD055} | Heading
--------:|:-------:
{MD055} | Header
--------:|:------:
{MD055} | Cell
{MD055:-3}
| Table | Heading |
|--------:|:--------|
| Table | Header |
|--------:|:-------|
{MD055} | Cell
| Table | Heading |
|---------|---------|
| Table | Header |
|---------|--------|
{MD055} | Cell
| Cell | Cell |
| Cell | Cell |
| Cell | Cell |
| Cell | Cell |
| Table | Heading |
|---------|---------|
| Cell | Cell |
| Table | Header |
|---------|--------|
| Cell | Cell |
{MD055} | Cell
| Cell | Cell |
| Cell | Cell |
| Table | Heading |
|---------|---------|
| Cell | Cell |
| Cell | Cell |
| Table | Header |
|---------|--------|
| Cell | Cell |
| Cell | Cell |
{MD055} | Cell
## Missing Trailing
| Table | Heading |
|--------:|:--------|
| Table | Header |
|--------:|:-------|
| {MD055} | Cell
| Table | Heading |
|---------|---------|
| Table | Header |
|---------|--------|
| {MD055} | Cell
| Cell | Cell |
| Cell | Cell |
| Cell | Cell |
| Cell | Cell |
| Table | Heading |
|---------|---------|
| Cell | Cell |
| Table | Header |
|---------|--------|
| Cell | Cell |
| {MD055} | Cell
| Cell | Cell |
| Cell | Cell |
| Table | Heading |
|---------|---------|
| Cell | Cell |
| Cell | Cell |
| Table | Header |
|---------|--------|
| Cell | Cell |
| Cell | Cell |
| {MD055} | Cell
## Missing Leading
| Table | Heading |
|--------:|:--------|
{MD055} | Cell |
| Table | Header |
|--------:|:-------|
{MD055} | Cell |
| Table | Heading |
|---------|---------|
{MD055} | Cell |
| Cell | Cell |
| Cell | Cell |
| Table | Header |
|---------|--------|
{MD055} | Cell |
| Cell | Cell |
| Cell | Cell |
| Table | Heading |
|---------|---------|
| Cell | Cell |
{MD055} | Cell |
| Cell | Cell |
| Table | Header |
|---------|--------|
| Cell | Cell |
{MD055} | Cell |
| Cell | Cell |
| Table | Heading |
|---------|---------|
| Cell | Cell |
| Cell | Cell |
{MD055} | Cell |
| Table | Header |
|---------|--------|
| Cell | Cell |
| Cell | Cell |
{MD055} | Cell |
## Followed by Text
| Table | Heading |
|-------|---------|
| Cell | Cell |
{MD055} Text
| Table | Header |
|-------|--------|
| Cell | Cell |
{MD055} {MD056} Text
## Table inside Blockquote
@ -133,15 +133,15 @@
## Well-Formed
| Table | Heading |
|-------|---------|
| Cell | Cell |
| Table | Header |
|-------|--------|
| Cell | Cell |
| Table | Heading |
|-------|---------|
| Cell | Cell |
| Cell | Cell |
| Cell | Cell |
| Table | Header |
|-------|--------|
| Cell | Cell |
| Cell | Cell |
| Cell | Cell |
## Leading and Trailing Spaces