Automattic / Automattic/harper

feat: Flag lack of inversion in questions

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

Description

It's very common for non-native English speakers, especially those whose first language is a Slavic language to write things like:

"What we were doing?"

Idiomatic native English changes the word order for questions to "What were we doing"?

Contributor guide

Open the contributing guide

Research direction

Start by locating the grammar rules and tests that handle English questions or word order; the issue does not name specific files or entry points. Review how existing grammar checks identify malformed questions, then add coverage for the stated non-inverted form and its corrected word order. Done means the example is flagged without incorrectly flagging the idiomatic form.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.