Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
feat: more than what meets the eye/more that meets the eye→more than meets the eye (#3178)
Andrew Dunbare364184f7c92
diff --git a/harper-core/default_config.json b/harper-core/default_config.jsonindex 0dbac84f5..7070001c2 100644--- a/harper-core/default_config.json+++ b/harper-core/default_config.json@@ -4794,6 +4794,13 @@"state": true,"label": "Web Scraping"}+ },+ {+ "Bool": {+ "name": "MoreThanMeetsTheEye",+ "state": true,+ "label": "More Than Meets The Eye"+ }}]}diff --git a/harper-core/src/linting/weir_rules/MoreThanMeetsTheEye.weir b/harper-core/src/linting/weir_rules/MoreThanMeetsTheEye.weirnew file mode 100644index 000000000..dc7306bf5--- /dev/null+++ b/harper-core/src/linting/weir_rules/MoreThanMeetsTheEye.weir@@ -0,0 +1,10 @@+expr main [(more than what meets the eye), (more that meets the eye), (more that what meets the eye)]++let message "For something that has hidden complexity or depth, `more than meets the eye` is the most idiomatic and most standard."+let description "Corrects nonstandard and less idiomatic variants of `more than meets the eye`."+let kind "Usage"+let becomes "more than meets the eye"++test "They decided to investigate and found out that there was more than what meets the eye here." "They decided to investigate and found out that there was more than meets the eye here."+test "But there might be more that meets the eye there, too:" "But there might be more than meets the eye there, too:"+test "As i have said before, there is at times more that what meets the eye." "As i have said before, there is at times more than meets the eye."