Automattic / Automattic/harper

Should flag non-comparative adjectives used with "than"

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

Description

I've noticed this a few times lately. Here's one from just now:

> Graydon Hoare's impact on the language is **marginal than** that of Chris Lattner, the originator (also, Hoare joined the team much later)

The fix is to suggest adding the missing "more". Or probably checking for an -er inflected form in the dictionary.

Contributor guide

Open the contributing guide

Research direction

Search the Rust grammar-checking rules for comparative constructions involving “than,” then inspect how adjective forms are represented in the dictionary. Done means the checker flags a non-comparative adjective such as “marginal than” and suggests adding “more,” while accounting for valid -er forms if supported.

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
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.