remark-lint-table-cell-padding
Version:
remark-lint rule to warn when table cells are incorrectly padded
21 lines • 649 B
TypeScript
export default remarkLintTableCellPadding;
/**
* Configuration.
*/
export type Options = {
/**
* Function to detect cell size (optional).
*/
stringLength?: ((value: string) => number) | null | undefined;
/**
* Preferred style or whether to detect the first style (default: `'consistent'`).
*/
style?: Style | "consistent" | null | undefined;
};
/**
* Styles.
*/
export type Style = "compact" | "padded";
declare const remarkLintTableCellPadding: import("unified-lint-rule").Plugin<Root, "consistent" | Style | Options | null | undefined>;
import type { Root } from 'mdast';
//# sourceMappingURL=index.d.ts.map