Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
feat: quite many→quite a few (#2129)
Andrew Dunbarb888caabddb3
diff --git a/harper-core/src/linting/phrase_corrections/mod.rs b/harper-core/src/linting/phrase_corrections/mod.rsindex aa28e9baa..fee816601 100644--- a/harper-core/src/linting/phrase_corrections/mod.rs+++ b/harper-core/src/linting/phrase_corrections/mod.rs@@ -897,6 +897,13 @@ pub fn lint_group() -> LintGroup {"Corrects `preying mantis` to `praying mantis`, ensuring accurate reference to the insect’s characteristic pose.",LintKind::Eggcorn),+ "QuiteMany" => (+ ["quite many"],+ ["quite a few"],+ "Use `quite a few` instead of `quite many`.",+ "Corrects `quite many` to `quite a few`, which is the more natural and idiomatic phrase in standard English. `Quite many` is considered non-standard usage.",+ LintKind::Nonstandard+ ),"RapidFire" => (["rapid fire"],["rapid-fire"],diff --git a/harper-core/src/linting/phrase_corrections/tests.rs b/harper-core/src/linting/phrase_corrections/tests.rsindex b456edf1a..c1c57884a 100644--- a/harper-core/src/linting/phrase_corrections/tests.rs+++ b/harper-core/src/linting/phrase_corrections/tests.rs@@ -1205,6 +1205,16 @@ fn corrects_points_of_view() {// PrayingMantis// -none-+// QuiteMany+#[test]+fn corrects_quite_many() {+ assert_suggestion_result(+ "To me it seems it might be caused by a2aaa55 which contains quite many build-related changes.",+ lint_group(),+ "To me it seems it might be caused by a2aaa55 which contains quite a few build-related changes.",+ );+}+// RapidFire// -none-