{"library":"remark-lint-list-item-style","title":"remark-lint-list-item-style","description":"A remark-lint rule that warns when list items violate a given capitalization or punctuation style. Version 3.0.1 is the current stable release, part of the unified-utils monorepo with active maintenance. It picks up where the abandoned remark-lint-list-item-punctuation left off, offering full unicode support and configurable options for checking first-letter capitalization, punctuation, and paragraph spread. Requires Node.js >=20.18.0 and is ESM-only. It is used with remark-lint to enforce consistent list item styling across Markdown documents.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-list-item-style"],"cli":null},"imports":["import remarkLintListItemStyle from 'remark-lint-list-item-style'","import remarkLintListItemStyle from 'remark-lint-list-item-style';\nexport default { plugins: [remarkLintListItemStyle] }","remark --use remark-lint --use lint-list-item-style README.md"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { read } from 'to-vfile';\nimport { reporter } from 'vfile-reporter';\nimport { remark } from 'remark';\nimport remarkLint from 'remark-lint';\nimport remarkLintListItemStyle from 'remark-lint-list-item-style';\n\nconst file = await remark()\n  .use(remarkLint)\n  .use(remarkLintListItemStyle, { punctuation: '.', firstWord: true, spread: 'each' })\n  .process(await read('example.md'));\n\nconsole.log(reporter(file));","lang":"typescript","description":"Shows how to use the plugin with remark to lint list items for punctuation, capitalization, and paragraph spread.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}