{"library":"remark-lint-no-unneeded-full-reference-image","title":"remark-lint-no-unneeded-full-reference-image","description":"remark-lint rule that warns when full reference images (`![Alt][alt]`) can be collapsed to `![Alt][]` because the label matches the alt text. Version 4.0.1 is the current stable release from the remark-lint monorepo. ESM-only, ships TypeScript types, no options. Ideal for maintaining image reference consistency in markdown projects. Compared to other lint rules, this one is narrowly focused on image reference style and integrates seamlessly into unified/remark ecosystem without configuration.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-no-unneeded-full-reference-image"],"cli":null},"imports":["import remarkLintNoUnneededFullReferenceImage from 'remark-lint-no-unneeded-full-reference-image'","import { unified } from 'unified'","import { reporter } from 'vfile-reporter'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { unified } from 'unified'\nimport remarkParse from 'remark-parse'\nimport remarkStringify from 'remark-stringify'\nimport remarkLint from 'remark-lint'\nimport remarkLintNoUnneededFullReferenceImage from 'remark-lint-no-unneeded-full-reference-image'\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(remarkLintNoUnneededFullReferenceImage)\n  .use(remarkStringify)\n  .process(file)\n\nconsole.error(reporter(file))","lang":"javascript","description":"Shows how to import and use the lint rule with unified, parse, stringify, and the vfile reporter.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}