{"library":"remark-lint-list-item-indent","title":"remark-lint-list-item-indent","description":"remark-lint rule (v4.0.1) to check whitespace between list item markers (including bullets and ordered list markers) and content. Part of the remark-lint ecosystem. Supports three indentation styles: 'one' (marker + 1 space), 'tab' (marker + spaces to next tab stop), and 'mixed' (tight lists as 'one', loose lists as 'tab'). Ships TypeScript types. Used in presets like remark-preset-lint-recommended (default 'one') and remark-preset-lint-markdown-style-guide (default 'mixed'). ESM-only package; requires Node.js 16+. Minimal alternative to more complex lint rules.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-list-item-indent"],"cli":null},"imports":["import remarkLintListItemIndent from 'remark-lint-list-item-indent'","import type { Options } from 'remark-lint-list-item-indent'","const remarkLintListItemIndent = require('remark-lint-list-item-indent')"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import remarkLint from 'remark-lint';\nimport remarkLintListItemIndent from 'remark-lint-list-item-indent';\nimport remarkParse from 'remark-parse';\nimport { unified } from 'unified';\nimport { reporter } from 'vfile-reporter';\n\nconst file = await unified()\n  .use(remarkParse)\n  .use(remarkLint)\n  .use(remarkLintListItemIndent, 'tab') // enforce 'tab' style\n  .process('* Item\\n\\n1.  Item');\n\nconsole.error(reporter(file));","lang":"typescript","description":"Create a unified processor with remark-lint and the list-item-indent rule to check markdown indentation style.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}