Skip to content

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

fix(core): address #2003 (#2170)

Elijah Potterdc751b7aae05
diff --git a/harper-core/src/linting/quite_quiet.rs b/harper-core/src/linting/quite_quiet.rs
index 28966203d..e0a0f200f 100644
--- a/harper-core/src/linting/quite_quiet.rs
+++ b/harper-core/src/linting/quite_quiet.rs
@@ -36,7 +36,7 @@ impl Default for QuiteQuiet {
let adverb_quite = SequenceExpr::default()
.then_kind_except(
TokenKind::is_adverb,
- &["actually", "never", "not", "really"],
+ &["actually", "never", "not", "really", "generally"],
)
.t_ws()
.t_aco("quite");
@@ -212,4 +212,12 @@ mod tests {
QuiteQuiet::default(),
);
}
+
+ #[test]
+ fn issue_2003() {
+ assert_no_lints(
+ "The namespaces are generally quite short",
+ QuiteQuiet::default(),
+ );
+ }
}