Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Thresholds and CI

bluepencil check measures each file and compares it to the limits under [check]. It prints each violation and exits with status 1 if there are any, 0 if all pass, and 2 on errors.

KeyMeaning
max_echoes_per_1kEchoes per 1,000 words
max_adverbs_per_1k-ly adverbs per 1,000 words
max_filter_per_1kFilter words per 1,000 words
max_hedges_per_1kHedges per 1,000 words
max_tics_per_1kTics per 1,000 words
max_passive_per_1kPassive voice constructions per 1,000 words
max_nominal_per_1kNominalizations per 1,000 words
max_overusedTotal words flagged as overused
max_clichesTotal cliches
max_repeated_starter_runsRuns of sentences with the same opener
max_monotonous_runsRuns of similar-length sentences
max_sentence_wordsLongest sentence
min_mattrMinimum lexical diversity
max_gradeFlesch-Kincaid grade
min_dialogue_ratio, max_dialogue_ratioShare of words in dialogue, from 0 to 1

Severity

Every rule reports at error severity by default, which fails check. Override a rule to warn under [check.severity] in bluepencil.toml to have it printed without failing the run:

[check.severity]
adverbs = "warn"

The key is the rule name (echoes, adverbs, filter, hedges, tics, passive, cliches, overused, and so on, matching the max_*/min_* keys above without their prefix).