Automattic / Automattic/harper

Should flag "to rage war"

Open
#3,621 0 comments 0 reactions 0 assignees View on GitHub
enhancement harper-core linting
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 12h
Merged PRs (30d)
106

Description

It's a common eggcorn, I think only by nonnative speakers to use "rage war" instead of "wage war", probably due to the fact that "rage" and "raging" can be used for verb and adjective with "war" as the subject.

Due to this confusion, a linter will have to be careful not to flag false positives.

Examples of mistakes:
- Of course any ideas regarding eliminating entire cultures, **raging war**, or taking of life en-masse should probably not be acted on
- Not **rage** war with battleships to gain orbital control and then **rage war** with land and atmosphere vehicles to finally seize the opposing planet.
- Jim can tell them about how the empires rises and falls, and tell how people once loved and **raged war**
- **rage war** against aliens and conservative humans alike

Must not flag:
- They can lock their country down all they want, but a **raging war** all around them will affect them both in the short term
- What's the logic of dissing paper straws in a comment **raging against war** and AI as threats to the environment?
- Where's the **rage war**?!
- For, oozing from the mountain's side, where **raged** the **war**, a dark-red tide was curdling in the streamlet blue.
- The August 2022 attack is part of a **raging** shadow **war**
- The W3C is not a relevant institution anymore so this **raging** privacy **war** will be wholly inconsequential.
- The **Raging** Evolutionary **War** Between Humans and Covid-19
- widely expected to clinch a third seven-year term in office despite the **raging** civil **war**

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing grammar-linter rules and their tests for confused word or phrase usage. Add coverage for the listed "rage war" mistakes while preserving the examples involving "raging war," "raging against war," and other grammatical uses; done means the incorrect forms are flagged without those false positives.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.