Fork of Quality Docs, a CLI tool to check the quality of writing in your project's markdown or plain text documentation.
Unified - interface for parsing, inspecting, transforming, and serializing content through syntax trees.
This tool uses retext to check the quality of writing in your project's documentation using these plugins;
retext-equalitywarns on insensitive, inconsiderate language.retext-spellchecks spelling against a US English dictionary and a custom dictionary.write-good- submodules
remark-validate-linksvalidates that Markdown links and images reference existing local files and headings.remark-lint-no-dead-urlsensures that external URLs in your Markdown are alive.retext-google-styleguideretext-syntax-urlsclassifies url-like values (example.com, index.html, www.alpha.bravo) as syntax, not natural language.retext-repeated-wordscheck for repeated words.- Doesn’t warn for some words which do occur twice (the best exhibition they had had since)
- Doesn’t warn for initialisms (D. D. will pop up with…)
- Doesn’t warn for capitalised words (Duran Duran…)
retext-indefinite-articlecheck if indefinite articles (aandan) are used correctly.retext-assumingCheck for unhelpful 'assuming' phrases such as 'just,' 'simply,' or 'obviously.'
Not currently enabled
retext-readabilitychecks the reading level of the whole document.- This project measures readability in text with several formulas: Dale–Chall, Automated Readability, Coleman–Liau, Flesch, Gunning fog, SMOG, and Spache.
retext-intensifywarns on filler, weasel and hedge words.retext-simplifywarns on complicated phrases and checks for simpler alternatives.remark-lintchecks for proper markdown formatting.
To Do
- use
remark-lint-no-dead-urlsto validate external links while ignoring example URLs