Skip to content

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

feat: added matching lint

Elijah Potterd596a5f12e9f
diff --git a/harper-core/src/linting/matcher.rs b/harper-core/src/linting/matcher.rs
index 46e800001..d645af88f 100644
--- a/harper-core/src/linting/matcher.rs
+++ b/harper-core/src/linting/matcher.rs
@@ -280,7 +280,8 @@ impl Matcher {
"with", "out" => "without",
"TreeSitter" => "Tree-sitter",
"Treesitter" => "Tree-sitter",
- "Tree", "sitter" => "Tree-sitter"
+ "Tree", "sitter" => "Tree-sitter",
+ "all", "of", "the" => "all the"
};
// TODO: Improve the description for this lint specifically.