Skip to content

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

fix(core): add JetBrains as a proper noun (#2167)

Elijah Potterc38185015b18
diff --git a/harper-core/dictionary.dict b/harper-core/dictionary.dict
index 74cc2be58..f9eb48061 100644
--- a/harper-core/dictionary.dict
+++ b/harper-core/dictionary.dict
@@ -53009,7 +53009,7 @@ JWT/Ng # JSON Web Token
Jacoco/Sg
JavaDoc/Sg
JavaScript/ONSg # programming language
-JetBrains
+JetBrains/Og
Jetpack/Og
Jira/Og # issue tracker
Joomla/Sg
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 1f962f725..0a8e84f7e 100644
--- a/harper-core/src/linting/phrasal_verb_as_compound_noun.rs
+++ b/harper-core/src/linting/phrasal_verb_as_compound_noun.rs
@@ -732,4 +732,12 @@ mod tests {
fn dont_flag_plugin_interface() {
assert_no_lints("[Plugin interface]", PhrasalVerbAsCompoundNoun::default());
}
+
+ #[test]
+ fn issue_1918() {
+ assert_no_lints(
+ "Boost your productivity with our JetBrains plugin!",
+ PhrasalVerbAsCompoundNoun::default(),
+ );
+ }
}