Automattic / Automattic/harper

Should flag "except from" and "except of" when they're mistakes for "except for"

Open
#3,672 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)
106

Description

## Except from

I think this mistake is mainly made by nonnative speakers but it's pretty common:
- every zed-industries/zed dependency is pinned to rev 876ec5a8a074ba83cce2129ed4d76b59c05a37e9, **except from** sum_tree which has no rev and ends up resolving to HEAD
- Is there any other well known socket.io parsers **except from** default and msgpack ?
- "bd daemon" is gone … **except from** docs
- **Except from** being a black rectangle, the ~$100-ish Xiaomi device isn't comparable to a PinePhone.
- **Except from** memory and CPU leaks, what will be reasons for Node.js server might go went down?

But we have to be careful because it also has legitimate uses:
- An extension that normally works, **except from** shortcuts, where uuid isn't found in the schema
- Cura will not launch **except from** Applications folder (Mac)
- I had removed try **except from** create_task api endpoint

There's even some where it could conceivably be a typo for "excerpt":
- **Except from** internal project readme.

## Except of

- But the surveyor also confirmed that **except of** a few spots, the hull was still in very good condition with a hull thickness of 6 to 8 mm, which is plenty.
- However, they actually didn't bother us too much, **except of** the extra work demand.
- Well, **except of** the missing frames.
- Some links look almost identical **except of** last digit
- Twist message to controllers **except of** TwistStamped?
- Not possible to overwritew code translation **except of** origin module
- I think that **except of** vim and emacs every other popular editor goes with case insensitive ctrl+f search.

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing grammar rules and tests for preposition or phrase misuse, then compare their handling of the reported “except from” and “except of” examples. Done means mistaken uses are flagged as “except for” without flagging the legitimate exceptions or possible “excerpt” usage described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
56/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.