alexilyaev / fed-reference

A minimalistic curated list of references on Front-End Development
7 stars 2 forks source link

Lint markdown #1

Open alexilyaev opened 7 years ago

alexilyaev commented 7 years ago

We should use markdownlint-cli, but they don't seem to support glob patterns so we can't ignore node_modules (opened a ticket).

Another option is Gil's check-all-markdown, but it has no flag to run just the Markdown lint without the URL checks (opened a ticket)

Or we can write our own package to just lint Markdown with markdownlint-cli using globby to support normal glob matching and ignore node_modules and .git folder by default.

alexilyaev commented 6 years ago

Looks like markdownlint-cli added the flag:
https://github.com/igorshubovych/markdownlint-cli/issues/16

alexilyaev commented 3 years ago

Something else I came across:
https://github.com/remarkjs/remark-validate-links

alexilyaev commented 1 year ago

Also linting dead links: https://github.com/textlint-rule/textlint-rule-no-dead-link Part of: https://github.com/textlint/textlint