{"id":15391929,"url":"https://github.com/scrum/remark-lint-double-link","last_synced_at":"2025-10-08T02:01:55.684Z","repository":{"id":55444936,"uuid":"278576192","full_name":"Scrum/remark-lint-double-link","owner":"Scrum","description":"remark plugin lint double link","archived":false,"fork":false,"pushed_at":"2024-08-07T21:31:49.000Z","size":1213,"stargazers_count":2,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-20T18:51:29.828Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Scrum.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":".github/funding.yml","license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":"scrums","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-07-10T08:07:26.000Z","updated_at":"2023-03-13T13:01:09.000Z","dependencies_parsed_at":"2024-10-18T23:09:10.838Z","dependency_job_id":null,"html_url":"https://github.com/Scrum/remark-lint-double-link","commit_stats":{"total_commits":27,"total_committers":3,"mean_commits":9.0,"dds":"0.18518518518518523","last_synced_commit":"c89a6cdf0b22e3f9a39048117d8831f8cb7a0e7f"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scrum%2Fremark-lint-double-link","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scrum%2Fremark-lint-double-link/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scrum%2Fremark-lint-double-link/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scrum%2Fremark-lint-double-link/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Scrum","download_url":"https://codeload.github.com/Scrum/remark-lint-double-link/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240351267,"owners_count":19787801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T15:13:31.835Z","updated_at":"2025-10-08T02:01:50.651Z","avatar_url":"https://github.com/Scrum.png","language":"JavaScript","funding_links":["https://patreon.com/scrums"],"categories":[],"sub_categories":[],"readme":"# remark-lint-double-link\n\u003e This [remark-lint](https://github.com/wooorm/remark-lint) rule ensures that there will be no duplicate links `URL` in the list\n\n[![Actions Status](https://github.com/Scrum/remark-lint-double-link/workflows/Actions%20Status/badge.svg?style=flat-square)](https://github.com/Scrum/remark-lint-double-link/actions?query=workflow%3A%22CI+tests%22)[![node](https://img.shields.io/node/v/remark-lint-double-link.svg?style=flat-square)]()[![npm version](https://img.shields.io/npm/v/remark-lint-double-link.svg?style=flat-square)](https://www.npmjs.com/package/remark-lint-double-link)[![Coveralls status](https://img.shields.io/coveralls/Scrum/remark-lint-double-link.svg?style=flat-square)](https://coveralls.io/r/Scrum/remark-lint-double-link)\n\n## Why?\nChecks only duplicate `URL`, which helps to get rid of duplicates with the same link names or with different ones. \nThe main policy is not to duplicate links to the same resources\n\n\n```Text\n\u003c!-- Invalid --\u003e\n\n[link-1](http://link-1)\n[link-2](http://link-1)\n\n\u003c!-- Valid --\u003e\n\n[link](http://link-1)\n```\n\n## Using the rule\n\n### Via `.remarkrc`\n\n```bash\nnpm install -g remark-cli\nnpm install remark-lint remark-lint-alphabetize-lists\n```\n\nThen, set up your `.remarkrc`:\n\n```JSON\n{\n  \"plugins\": [\n    \"lint\",\n    \"lint-double-link\"\n  ]\n}\n```\n\nNow you can use the following command to run the lint:\n\n```bash\nremark xxx.md\n```\n\n### Via CLI\n\n```bash\nnpm install -g remark-cli\nnpm install remark-lint remark-lint-double-link\nremark -u lint -u lint-double-link xxx.md\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrum%2Fremark-lint-double-link","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscrum%2Fremark-lint-double-link","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrum%2Fremark-lint-double-link/lists"}