Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

fix(core): remove `AnyQuestions` until I have more time

Elijah Potter2b026b6af52b
diff --git a/harper-core/src/linting/phrase_corrections.rs b/harper-core/src/linting/phrase_corrections.rs
index ecdc05a73..68090691e 100644
--- a/harper-core/src/linting/phrase_corrections.rs
+++ b/harper-core/src/linting/phrase_corrections.rs
@@ -935,12 +935,6 @@ pub fn lint_group() -> LintGroup {
"Vocabulary enhancement: use `excellent` instead of `very good`",
"Provides a stronger word choice by replacing `very good` with `excellent` for clarity and emphasis."
),
- "AnyQuestions" => (
- ["any question"],
- ["any questions"],
- "Count agreement: use `Any questions` instead of `Any question`",
- "Changes the singular to the plural form in a standard request for feedback or clarification."
- ),
});
group.set_all_rules_to(Some(true));
@@ -1827,22 +1821,4 @@ mod tests {
0,
);
}
-
- #[test]
- fn any_questions_clean() {
- assert_lint_count(
- "Does anyone have any questions before we conclude the meeting?",
- lint_group(),
- 0,
- );
- }
-
- #[test]
- fn any_questions_incorrect() {
- assert_suggestion_result(
- "Any question before we finish?",
- lint_group(),
- "Any questions before we finish?",
- );
- }
}