{"library":"remark-lint-checkbox-content-indent","title":"remark-lint-checkbox-content-indent","description":"remark-lint rule to warn when GFM tasklist checkboxes are followed by more than one space. Current stable version is 5.0.1 (as of early 2025), part of the remark-lint ecosystem. Unlike general Markdown linters, this rule is narrowly scoped to enforce consistent indentation after `[ ]` or `[x]` in task list items. It is ESM-only, ships TypeScript types, and integrates with remark's unified pipeline and CLI. No options. Alternatives like markdownlint have similar rules but remark-lint rules are composable with the remark ecosystem.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-checkbox-content-indent"],"cli":{"name":"remark","version":null}},"imports":["import remarkLintCheckboxContentIndent from 'remark-lint-checkbox-content-indent'"],"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 remarkLintCheckboxContentIndent from 'remark-lint-checkbox-content-indent';\nimport remarkGfm from 'remark-gfm';\nimport { reporter } from 'vfile-reporter';\n\nconst file = await unified()\n  .use(remarkParse)\n  .use(remarkGfm)\n  .use(remarkLint)\n  .use(remarkLintCheckboxContentIndent)\n  .use(remarkStringify)\n  .process('- [x]  Too many spaces after checkbox\\n');\n\nconsole.error(reporter(file));\n// Output: 1:8: Unexpected `2` spaces between checkbox and content, expected `1` space, remove `1` space","lang":"typescript","description":"Lints a Markdown string for excessive whitespace after GFM tasklist checkboxes using remark. Shows how to set up unified pipeline with GFM support, lint rule, and report messages.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}