We should flag "prefer more than"
Author: hippietrailCreated Oct 1, 2026Updated Oct 1, 2026
Labelsenhancementharper-corelintinggrammar
Using "prefer" with "more" is redundant. "Prefer" already means "to like more". Another way to fix is "prefer over".
I believe we lint for this in some contexts already but right now I'm seeing ones like these:
- As a person who prefers Rust more than cpp, gotta say it's also "Least ugly Rust syntax"
- The Reason I Prefer Reading More Than Writing.
- ... which is why they prefer grades more than education
- I would prefer ViewModifier more than the wrapper views for the styling because view modifiers don't disturb the layout semantics
- Why Contractors Prefer Concrete More Than Other Materials?
False positives to watch out for:
- generally I prefer no more than 2 windows across
Source: Automattic/harper