All rules

Redundant pair

redundant-expressionon by default (info)Japanese / English

Two words that say the same thing, such as "end result" or "each and every"

Example

Flagged
The end result is a shorter build.
What chaff prints
1:1 "end result" says the same thing twice
Fixed
The result is a shorter build.
What chaff prints
no finding

How to fix

Drop the repeat ("end result" → "result", "revert back" → "revert").

Why it matters

Two words that say the same thing ("end result", "each and every", "revert back") make the reader look for a meaning in the second word that is not there, and read as unedited. Dropping the repeat changes nothing. The pairs are listed in each language's lexicon, each with the form to use instead. Idioms that are sometimes needed ("whether or not", "period of time") are not counted.

What it does not flag

Idioms that are sometimes needed ("whether or not", "period of time", "past experience", "plan ahead") are not reported. The literature preset turns it off.

Turning it off or relaxing it

Silence this one spot (in the document)
<!-- stet: redundant-expression — reason -->
Relax it for the team (the reason is kept as a comment in chaff.yaml)
npx chaffjs relax redundant-expression --why "reason"
Turn it off for the team (chaff.yaml)
rules: redundant-expression: off
Technical details
Layer
L2
Status
stable
Severity
info
Languages
Japanese and English
Suited to
business, technical, blog, legal, docs, academic, literature, speech

Levels

Set a level for this rule under rules in chaff.yaml. With nothing set, it runs at the level its genre gives it (see By genre below).

strictreported once 1 sentences hold one
normalreported once 1 sentences hold one
relaxedreported once 2 sentences hold one

By genre

Runs by default in
technical/spec, technical/readme, blog/tech, blog/essay, blog/owned-media, business/proposal, business/report, business/email, business/press-release, business/meeting-notes, legal/contract, legal/statute, legal/judgment, legal/patent, docs/manual, docs/faq, docs/glossary, academic/paper, speech/address, speech/transcript
Turned off by the genre in
literature/fiction, literature/essay, literature/poetry, literature/play

Genres

Message

"{matched}" says the same thing twice

Rewrite depth (chaff fix-plan --depth): light — words and sentences; the structure and the voice stay

This page is built from the rule's definition file:packages/chaff/rules/redundant-expression.yaml