Skip to content

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

feat: in hurry→in a hurry (#2825)

Andrew Dunbar28f4b00ee135
diff --git a/harper-core/src/linting/weir_rules/InAHurry.weir b/harper-core/src/linting/weir_rules/InAHurry.weir
new file mode 100644
index 000000000..2de6e7a15
--- /dev/null
+++ b/harper-core/src/linting/weir_rules/InAHurry.weir
@@ -0,0 +1,9 @@
+expr main (in hurry)
+
+let message "The correct idiom is `in a hurry`."
+let description "Corrects `in hurry` to `in a hurry`."
+let kind "Usage"
+let becomes "in a hurry"
+
+test "helpful when JSON is huge and developer is in hurry" "helpful when JSON is huge and developer is in a hurry"
+test "eLab report making service for people in hurry." "eLab report making service for people in a hurry."
\ No newline at end of file