Skip to content

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

feat: in the very least→at the very least (#3441)

Andrew Dunbar95c38907f80e
diff --git a/harper-core/default_config.json b/harper-core/default_config.json
index 2e9c403ed..07ac4d3ab 100644
--- a/harper-core/default_config.json
+++ b/harper-core/default_config.json
@@ -4382,6 +4382,13 @@
"label": "At The Expense Of"
}
},
+ {
+ "Bool": {
+ "name": "AtTheVeryLeast",
+ "state": true,
+ "label": "At The Very Least"
+ }
+ },
{
"Bool": {
"name": "AwareOf",
diff --git a/harper-core/src/linting/weir_rules/AtTheVeryLeast.weir b/harper-core/src/linting/weir_rules/AtTheVeryLeast.weir
new file mode 100644
index 000000000..646f57849
--- /dev/null
+++ b/harper-core/src/linting/weir_rules/AtTheVeryLeast.weir
@@ -0,0 +1,8 @@
+expr main (in the very least)
+
+let message "Did you mean `at the very least`?"
+let description "Corrects `in the very least` to `at the very least`."
+let kind "WordChoice"
+let becomes "at the very least"
+
+test "the layout of the object may be different (in the very least, its sizeof is different)" "the layout of the object may be different (at the very least, its sizeof is different)"