ci: check-readme-links.js does not check image URLs

Open Beginner friendly
#894 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
html, javascript, markdown
Domain
documentation

Research direction

Start with scripts/check-readme-links.js, which currently checks README links but skips image URLs. Read how it extracts links, then add the <img src> and Markdown image forms to the same check. Done when a README with a broken image URL makes the script fail, and the existing link checks still pass.

Written by the indexing model from the issue text.

Description

scripts/check-readme-links.js checks the links of the README files, but not their image URLs. Published READMEs on npm point at images such as chart-light.png by absolute URL. Renaming or removing one breaks the npm page without a failing check.

Fix: include <img src> and Markdown image URLs in the check.

Found in the full review (#775); not fixed in #822.

Dominant language
JavaScript
Stars
1
Forks
1
Avg merge
2h 59m
Merged PRs (30d)
404

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eizedev/pivotkit

All issues in eizedev/pivotkit

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.