Skip to content

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

feat: very less → much less/far less/a lot less (#2484)

Andrew Dunbar323c034d8444
diff --git a/harper-core/src/linting/weir_rules/VeryLess.weir b/harper-core/src/linting/weir_rules/VeryLess.weir
new file mode 100644
index 000000000..b19b2468f
--- /dev/null
+++ b/harper-core/src/linting/weir_rules/VeryLess.weir
@@ -0,0 +1,10 @@
+expr main (very less)
+
+let message "English doesn't use `very` with `less`."
+let description "Corrects `very less`."
+let kind "Grammar"
+let becomes ["much less", "far less", "a lot less"]
+
+test "here is a simple way to do it with very less coding ... ;)" "here is a simple way to do it with much less coding ... ;)"
+test "algorithm for processing large datasets with very less pre-configuration" "algorithm for processing large datasets with far less pre-configuration"
+test "Also the gpu memory usage is very less." "Also the gpu memory usage is a lot less."