0.4.0 • Published 8 years ago
docslint v0.4.0
docslint 
Lint and fix docs simpler
Under the hood docslint uses textlint with predefined rule set. It’s a simple zero-config tool that works out of the box like standard and xo.
Install
npm install --global docslintUsage
docslint --help
Lint and fix docs simpler
Usage
docslint [file|glob ...]
Options
--fix Automatically fix issues
--disable Rules to disable, can be set multiple times
Examples
docslint
docslint readme.md
docslint *.md !readme.md
docslint --fix
docslint --disable terminologyRules
Base configuration contains following rules:
common-misspellings— check common misspellingsapostrophe— check and fix correct apostrophe usagediacritics— check and fix the usage of diacriticsstop-words— find filler words, buzzwords and clichésterminology— check and fix correct terms spellingno-dead-link— check if all links are available or notno-start-duplicated-conjunction— check no start with duplicated conjunctionreal-symbols— check and fix symbolswrite-good— naive linter for English prose for developersen-capitalization— check and fix capitalization
You can disable any rule by running docslint with --disable <rule> flag.
License
MIT