{"library":"remark-lint-no-unneeded-full-reference-link","title":"remark-lint-no-unneeded-full-reference-link","description":"A remark-lint rule (v4.0.1, ESM-only, ships TypeScript types) that warns when full reference links like `[text][label]` can be collapsed to `[text][]` because the label matches the text. Part of the remark-lint ecosystem, it helps enforce consistent reference link syntax. No configuration options. Active development with frequent releases.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-no-unneeded-full-reference-link"],"cli":null},"imports":["import remarkLintNoUnneededFullReferenceLink from 'remark-lint-no-unneeded-full-reference-link'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { unified } from 'unified';\nimport remarkParse from 'remark-parse';\nimport remarkLint from 'remark-lint';\nimport remarkStringify from 'remark-stringify';\nimport remarkLintNoUnneededFullReferenceLink from 'remark-lint-no-unneeded-full-reference-link';\nimport { reporter } from 'vfile-reporter';\nimport { read } from 'to-vfile';\n\nconst file = await read('example.md');\n\nawait unified()\n  .use(remarkParse)\n  .use(remarkLint)\n  .use(remarkLintNoUnneededFullReferenceLink)\n  .use(remarkStringify)\n  .process(file);\n\nconsole.error(reporter(file));","lang":"typescript","description":"Shows how to use the rule with unified, reading a markdown file, and reporting lint messages.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}