{"library":"remark-lint-no-shortcut-reference-link","title":"remark-lint-no-shortcut-reference-link","description":"A remark-lint rule that warns when shortcut reference links (`[text]` without explicit brackets for the label) are used in Markdown. Version 4.0.1 is the latest stable release, part of the remark-lint monorepo. It enforces consistency by recommending collapsed or full reference links instead. This rule is included in recommended and markdown style guide presets. Rules are updated regularly; check the main remark-lint releases.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-no-shortcut-reference-link"],"cli":null},"imports":["import remarkLintNoShortcutReferenceLink from 'remark-lint-no-shortcut-reference-link'","import remarkLintNoShortcutReferenceLink from 'remark-lint-no-shortcut-reference-link'","import type { Plugin } from 'unified'; import remarkLintNoShortcutReferenceLink from 'remark-lint-no-shortcut-reference-link'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import remarkLint from 'remark-lint'\nimport remarkLintNoShortcutReferenceLink from 'remark-lint-no-shortcut-reference-link'\nimport remarkParse from 'remark-parse'\nimport remarkStringify from 'remark-stringify'\nimport {unified} from 'unified'\nimport {reporter} from 'vfile-reporter'\n\nconst file = await unified()\n  .use(remarkParse)\n  .use(remarkLint)\n  .use(remarkLintNoShortcutReferenceLink)\n  .use(remarkStringify)\n  .process('[Mercury]\\n\\n[mercury]: https://example.com/mercury/')\n\nconsole.error(reporter(file))","lang":"typescript","description":"Lints Markdown with the shortcut-reference-link rule using unified pipeline.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}