🚀 Feature: Lint for missing relative links in Markdown files #814
Labels
status: accepting prs
Please, send a pull request to resolve this!
type: feature
New enhancement or request
Milestone
Bug Report Checklist
main
branch of the repository.Overview
I just discovered the hard way that the README.md contains an incorrect path for a relative link 😱:
create-typescript-app/README.md
Line 48 in 30ea110
(the file name is
Migration.md
, notMigrate.md
)That kind of typo should have been caught in CI. Surely there's some lint rule somewhere that could do this?
Additional Info
I did a quick Google and found https://github.com/theoludwig/markdownlint-rule-relative-links. Maybe that's usable?
If we end up switching to
eslint-plugin-mdx
or some such (#567), we'd want a lint rule from that config/plugin.The text was updated successfully, but these errors were encountered: