Skip to content

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

feat: at all cost → at all costs (#3082)

Andrew Dunbar75144632e358
diff --git a/harper-core/src/linting/weir_rules/AtAllCosts.weir b/harper-core/src/linting/weir_rules/AtAllCosts.weir
new file mode 100644
index 000000000..cc1325f1c
--- /dev/null
+++ b/harper-core/src/linting/weir_rules/AtAllCosts.weir
@@ -0,0 +1,9 @@
+expr main (at all cost)
+
+let message "Did you mean `at all costs`?"
+let description "Corrects `at all cost` to `at all costs`."
+let kind "Usage"
+let becomes "at all costs"
+
+test "Configs for my Arch system for maximum performance at all cost." "Configs for my Arch system for maximum performance at all costs."
+test "If ComfyUI wouldn't be such a helpful tool I would avoid it at all cost." "If ComfyUI wouldn't be such a helpful tool I would avoid it at all costs."
\ No newline at end of file