write-good
TLDR
Check a file for prose issues
SYNOPSIS
write-good [--text=string] [--no-check] [file|glob...]
DESCRIPTION
write-good is a linter for English prose that helps identify common writing issues. It flags passive voice, unnecessary adverbs, weasel words, cliches, lexical illusions (repeated words), and wordy phrases.
The tool is designed for developers writing documentation, README files, and technical content. It can analyze individual files, multiple files via glob patterns, or inline text strings.
Each suggestion includes the problematic text, its position in the file, and a reason explaining the issue. Checks can be selectively disabled using --no- flags, or enabled individually by specifying only the desired checks.
write-good integrates with editors through plugins for Vim (via ALE), Sublime Text, VS Code, and others. It can also run in Docker containers for CI/CD pipelines.
PARAMETERS
--text=string
Analyze the provided text string instead of files.--no-passive
Disable passive voice detection.--no-adverb
Disable adverb warnings (really, extremely, etc.).--no-illusion
Disable lexical illusion detection (repeated words).--no-so
Disable warnings for sentences starting with "so".--no-thereIs
Disable warnings for "there is/are" at sentence start.--no-weasel
Disable weasel word detection.--no-tooWordy
Disable wordy phrase detection.--no-cliches
Disable cliche detection.--no-eprime
Disable E-Prime checking (forms of "to be").--parse
Parse text from stdin.
CAVEATS
The linter is intentionally "naive" and may flag false positives. Passive voice and adverbs are not always wrong; use judgment when reviewing suggestions. The tool focuses on common issues and is not a comprehensive grammar checker. Some technical writing may legitimately require passive construction.
HISTORY
write-good was created by Brian Ford (btford) and first released around 2014. The project name is a reference to the movie Zoolander. It has become a popular tool in the JavaScript community for improving documentation quality and is used in CI pipelines for open-source projects.


