Closed vweevers closed 6 years ago
remark-lint-table-cell-padding
is expecting the MDAST table
node to have an align
property, but remark-contributors
doesn't define this property.
But in https://github.com/syntax-tree/mdast#table, align is defined as:
interface Table <: Parent {
type: "table";
align: [alignType];
}
enum alignType {
"left" | "right" | "center" | null;
}
So it's optional, and remark-lint-table-cell-padding
is at fault.
I misread that. The align
property is required, and must be an array. Only the alignType
(per column) is optional.
0.0.2