From 7d4c760f5d859c0718968e467375a82ae25d8a7d Mon Sep 17 00:00:00 2001 From: Elijah Potter Date: Tue, 23 Sep 2025 13:14:26 -0600 Subject: [PATCH] fix(core): remove invalid closed compound rule `Into` Fixes #1969 --- harper-core/src/linting/closed_compounds.rs | 1 - .../linters/Alice's Adventures in Wonderland.snap.yml | 9 --------- 2 files changed, 10 deletions(-) diff --git a/harper-core/src/linting/closed_compounds.rs b/harper-core/src/linting/closed_compounds.rs index 3936c3ee..a5eaf6bc 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.yml index 0d2820da..99268a77 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