Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
fix(core): remove invalid closed compound rule `Into`
Elijah Potter7d4c760f5d85
diff --git a/harper-core/src/linting/closed_compounds.rs b/harper-core/src/linting/closed_compounds.rsindex 3936c3eee..a5eaf6bc5 100644--- a/harper-core/src/linting/closed_compounds.rs+++ b/harper-core/src/linting/closed_compounds.rs@@ -36,7 +36,6 @@ pub fn lint_group() -> LintGroup {"Insofar" => ("in so far", "insofar"),"Instead" => ("in stead", "instead"),"Intact" => ("in tact", "intact"),- "Into" => ("in to", "into"),"Itself" => ("it self", "itself"),"Laptop" => ("lap top", "laptop"),"Middleware" => ("middle ware", "middleware"),diff --git a/harper-core/tests/text/linters/Alice's Adventures in Wonderland.snap.yml b/harper-core/tests/text/linters/Alice's Adventures in Wonderland.snap.ymlindex 0d2820da6..99268a77b 100644--- a/harper-core/tests/text/linters/Alice's Adventures in Wonderland.snap.yml+++ b/harper-core/tests/text/linters/Alice's Adventures in Wonderland.snap.yml@@ -3457,15 +3457,6 @@ Message: |-Lint: Miscellaneous (31 priority)-Message: |- 2954 | and said, “It was a curious dream, dear, certainly: but now run in to your tea;- | ^~~~~ Did you mean the closed compound `into`?-Suggest:- - Replace with: “into”---Lint: Formatting (255 priority)Message: |2955 | it’s getting late.” So Alice got up and ran off, thinking while she ran, as well