Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
fix: restore `CallThem` linter that got unlinked from the project at some point (#3320)
Andrew Dunbarcd3d3265d3dc
diff --git a/harper-core/default_config.json b/harper-core/default_config.jsonindex bc752ebed..59f790f25 100644--- a/harper-core/default_config.json+++ b/harper-core/default_config.json@@ -3731,6 +3731,13 @@"label": "Bought"}},+ {+ "Bool": {+ "name": "CallThem",+ "state": true,+ "label": "Call Them"+ }+ },{"Bool": {"name": "BrandBrandish",diff --git a/harper-core/src/linting/lint_group/mod.rs b/harper-core/src/linting/lint_group/mod.rsindex 92004d450..017402a7e 100644--- a/harper-core/src/linting/lint_group/mod.rs+++ b/harper-core/src/linting/lint_group/mod.rs@@ -39,6 +39,7 @@ use super::boring_words::BoringWords;use super::bought::Bought;use super::brand_brandish::BrandBrandish;use super::by_accident::ByAccident;+use super::call_them::CallThem;use super::cant::Cant;use super::capitalize_personal_pronouns::CapitalizePersonalPronouns;use super::cautionary_tale::CautionaryTale;@@ -532,6 +533,7 @@ impl LintGroup {insert_expr_rule!(Bought, true);insert_expr_rule!(BrandBrandish, true);insert_expr_rule!(ByAccident, true);+ insert_expr_rule!(CallThem, true);insert_expr_rule!(Cant, true);insert_struct_rule!(CapitalizePersonalPronouns, true);insert_expr_rule!(CautionaryTale, true);