A remark-lint rule that warns when GFM table rows lack initial or final pipe delimiters. Current stable version is 5.0.1. This is an ESM-only package for Node.js 16+. It is part of the remark-lint ecosystem and included in the markdown-style-guide preset. Unlike other table lint rules that check alignment or cell padding, this rule specifically enforces that every row starts and ends with a pipe character, which is recommended by the markdown style guide and automatically fixed by remark-stringify.
npm install remark-lint-table-pipesNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use the remark-lint-table-pipes rule programmatically with unified.
Use import syntax or dynamic import(). If you must use CommonJS, pin to version 2.x.
If you previously relied on the rule ignoring missing opening pipes, update your markdown to include pipes at both ends of each row.
Remove any configuration that passes options; the rule no longer accepts options.
Ensure you use .use(remarkGfm) before .use(remarkLintTablePipes).
Always include a header separator row for tables to be parsed correctly.
Change to import statement: import remarkLintTablePipes from 'remark-lint-table-pipes'
Use default import: import remarkLintTablePipes from 'remark-lint-table-pipes'
Use default import: import remarkLintTablePipes from 'remark-lint-table-pipes' (not require).