Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions harper-core/default_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4326,6 +4326,13 @@
"label": "At The Expense Of"
}
},
{
"Bool": {
"name": "AtTheVeryLeast",
"state": true,
"label": "At The Very Least"
}
},
{
"Bool": {
"name": "AwareOf",
Expand Down
8 changes: 8 additions & 0 deletions harper-core/src/linting/weir_rules/AtTheVeryLeast.weir
Original file line number Diff line number Diff line change
@@ -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)"
Loading