Skip to content

Commit

Permalink
Merge pull request #734 from Automattic/band-together
Browse files Browse the repository at this point in the history
feat(core): add rule that corrects `ban together`
  • Loading branch information
elijah-potter authored Feb 21, 2025
2 parents acea47f + 3eccab0 commit 7b26095
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions harper-core/src/linting/phrase_corrections.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,12 @@ pub fn lint_group() -> LintGroup {
["my house"],
"Did you mean `my house`?",
"Fixes the typo `mu house` to `my house`."
),
"BanTogether" => (
"ban together",
["band together"],
"Did you mean 'band together'?",
"Detects and corrects the common error of using `ban together` instead of the idiom `band together`, which means to unite or join forces."
)
});

Expand Down

0 comments on commit 7b26095

Please sign in to comment.