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.
npm install remark-lint-no-unneeded-full-reference-linkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use the rule with unified, reading a markdown file, and reporting lint messages.
Switch to ESM imports: use import syntax instead of require().
Upgrade Node.js to version 16 or later, or use an older version (v3.x) which supports CJS.
Do not pass options to .use().
Convert your project to ESM (add "type": "module" in package.json) or use dynamic import().
Run 'npm install remark-lint-no-unneeded-full-reference-link' and ensure your import/require path matches the package name.