Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
Merge pull request #736 from Automattic/any-one-of
Elijah Potter49a328110d8c
diff --cc harper-core/src/linting/then_than.rsindex fd4042c05,a65927052..e8b4760b2--- a/harper-core/src/linting/then_than.rs+++ b/harper-core/src/linting/then_than.rs@@@ -21,12 -18,10 +21,12 @@@ impl ThenThan|tok: &Token, _source: &[char]| tok.kind.is_adjective(),))).then_whitespace()- .then_any_capitalization_of("then"),+ .then_any_capitalization_of("then")+ .then_whitespace()+ .then(Invert::new(AnyCapitalization::new(char_string!("that")))),),// Denotes exceptions to the rule.- Box::new(Invert::new(WordSet::new(&["back"]))),+ Box::new(Invert::new(WordSet::new(&["back", "this"]))),])),}}