{"library":"remark-lint-no-table-indentation","title":"remark-lint-no-table-indentation","description":"remark-lint rule to warn when GFM tables are indented. This package is part of the remark-lint ecosystem and checks that tables are not indented. It is ESM-only (requires Node.js 16+ and `remark-gfm` for GFM table support). The rule has no options and recommends no indentation for tables. It is included in the `remark-preset-lint-markdown-style-guide` preset. The plugin is a `Transformer` from unified. Current stable version is 5.0.1 released as part of the remark-lint monorepo. Release cadence is irregular, tied to the monorepo maintenance. Key differentiator: it only checks table indentation, making it lightweight and focused.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-no-table-indentation"],"cli":{"name":"remark","version":null}},"imports":["import remarkLintNoTableIndentation from 'remark-lint-no-table-indentation'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import {unified} from 'unified'\nimport remarkParse from 'remark-parse'\nimport remarkStringify from 'remark-stringify'\nimport remarkLint from 'remark-lint'\nimport remarkLintNoTableIndentation from 'remark-lint-no-table-indentation'\nimport {reporter} from 'vfile-reporter'\n\nconst file = await unified()\n  .use(remarkParse)\n  .use(remarkLint)\n  .use(remarkLintNoTableIndentation)\n  .use(remarkStringify)\n  .process('# Hello\\n\\n | a | b |\\n | - | - |\\n | 1 | 2 |\\n')\n\nconsole.error(reporter(file))","lang":"typescript","description":"This shows how to use the rule in a unified pipeline to lint a markdown string for indented GFM tables.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}