Automattic / Automattic/harper

The `ModalVerbs` `Pattern` includes nonsense words

Open
#4,182 1 comment 0 reactions 1 assignee Claimed by @hippietrail View on GitHub
bug harper-core
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 15h
Merged PRs (30d)
106

Description

I was starting work on a new linter involving modal verbs and I noticed the logic in `patterns::modal_verbs.rs` looked wrong where it creates negative forms. I made up a quick `Display` method with a dictionary lookup:

Image

That was probably my fault. I remember working on logic like that but don't remember it looking so broken at the time. I promise I wasn't drinking!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.