Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
feat(core): add rule that corrects `ban together`
Elijah Potterd720ec8803aa
diff --git a/harper-core/src/linting/phrase_corrections.rs b/harper-core/src/linting/phrase_corrections.rsindex 671b70954..819a71a4d 100644--- a/harper-core/src/linting/phrase_corrections.rs+++ b/harper-core/src/linting/phrase_corrections.rs@@ -210,6 +210,12 @@ pub fn lint_group() -> LintGroup {["my house"],"Did you mean `my house`?","Fixes the typo `mu house` to `my house`."+ ),+ "BanTogether" => (+ "ban together",+ ["band together"],+ "Did you mean 'band together'?",+ "Detects and corrects the common error of using 'ban together' instead of the idiom 'band together', which means to unite or join forces.")});