Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
feat: in/on the grand scale of things→grand scheme (#4179)
Andrew Dunbar8d100e8f7a70
diff --git a/harper-core/default_config.json b/harper-core/default_config.jsonindex d3da1c237..58df2b79e 100644--- a/harper-core/default_config.json+++ b/harper-core/default_config.json@@ -4907,6 +4907,13 @@"label": "Interested In"}},+ {+ "Bool": {+ "name": "InTheGrandSchemeOfThings",+ "state": true,+ "label": "In the Grand Scheme of Things"+ }+ },{"Bool": {"name": "InThisThatRegard",diff --git a/harper-core/src/linting/weir_rules/InTheGrandSchemeOfThings.weir b/harper-core/src/linting/weir_rules/InTheGrandSchemeOfThings.weirnew file mode 100644index 000000000..9bda2e5cc--- /dev/null+++ b/harper-core/src/linting/weir_rules/InTheGrandSchemeOfThings.weir@@ -0,0 +1,10 @@+expr main [(in the grand scale of things), (on the grand scale of things), (on the grand scheme of things)]++let message "Did you mean `in the grand scheme of things`?"+let description "Corrects nonstandard variants of `in the grand scheme of things`."+let kind "Typo"+let becomes "in the grand scheme of things"++test "I realise that in the grand scale of things this is a fairly minor issue, but it still annoys me." "I realise that in the grand scheme of things this is a fairly minor issue, but it still annoys me."+test "Besides, one match is a small sample size and would not change the data that much on the grand scheme of things" "Besides, one match is a small sample size and would not change the data that much in the grand scheme of things"+test "It might be a while. How important is this on the grand scale of things?" "It might be a while. How important is this in the grand scheme of things?"