Skip to content

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

feat(core): include #815

Elijah Potter5802e1f9696b
diff --git a/harper-core/src/linting/phrase_corrections.rs b/harper-core/src/linting/phrase_corrections.rs
index 1dd5774d6..a3d3ed478 100644
--- a/harper-core/src/linting/phrase_corrections.rs
+++ b/harper-core/src/linting/phrase_corrections.rs
@@ -377,6 +377,12 @@ pub fn lint_group() -> LintGroup {
"Use the adverb `too` instead.",
"Identifies common misuse of the preposition `to` in the phrase `spoke too soon`."
),
+ "TakeItSeriously" => (
+ ["take it serious"],
+ ["take it seriously"],
+ "Did you mean `take it seriously`?",
+ "Ensures the correct use of the adverb `seriously` instead of the adjective `serious` in phrases like `take it seriously`."
+ )
});
group.set_all_rules_to(Some(true));