Skip to content

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

fix: don't flag "plugin developer" (#2370)

Andrew Dunbard2fb82c6709c
diff --git a/harper-core/src/linting/phrasal_verb_as_compound_noun.rs b/harper-core/src/linting/phrasal_verb_as_compound_noun.rs
index fceaaee6e..a739e5bb3 100644
--- a/harper-core/src/linting/phrasal_verb_as_compound_noun.rs
+++ b/harper-core/src/linting/phrasal_verb_as_compound_noun.rs
@@ -212,6 +212,7 @@ impl Linter for PhrasalVerbAsCompoundNoun {
"architecture",
"classes",
"development",
+ "developer",
"docs",
"ecosystem",
"files",
@@ -757,4 +758,12 @@ mod tests {
PhrasalVerbAsCompoundNoun::default(),
);
}
+
+ #[test]
+ fn issue_2369() {
+ assert_no_lints(
+ "## Plugin developer documentation",
+ PhrasalVerbAsCompoundNoun::default(),
+ );
+ }
}