eslint / eslint/markdown

New Rule: no-duplicate-defined-urls

Open
#701 5 comments 0 reactions 1 assignee Claimed by @sethamus View on GitHub
accepted feature
Dominant language
JavaScript
Stars
581
Forks
92
Avg merge
1d 4h
Merged PRs (30d)
11

Description

### Rule details

Warn when the same URL is defined with different identifiers.

### What type of rule is this?

Warns about a potential problem

### Example code

```markdown
[mercury]: https://example.com/mercury/
[venus]: https://example.com/mercury/
```

### Prior Art

[remark-lint-no-duplicate-defined-urls](https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-duplicate-defined-urls)

### Participation

- [x] I am willing to submit a pull request to implement this rule.

### AI acknowledgment

- [x] I did not use AI to generate this issue report.
- [ ] (If the above is not checked) I have reviewed the AI-generated content before submitting.

### Additional comments

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.