Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
feat: as of currently→ currently / as of now (#2599)
Andrew Dunbaraa49f4f5b83c
diff --git a/harper-core/src/linting/weir_rules/AsOfCurrently.weir b/harper-core/src/linting/weir_rules/AsOfCurrently.weirnew file mode 100644index 000000000..79912730b--- /dev/null+++ b/harper-core/src/linting/weir_rules/AsOfCurrently.weir@@ -0,0 +1,9 @@+expr main (as of currently)++let message "Standard equivalents are `currently` or `as of now`."+let description "Corrects `as of currently` to `currently` or `as of now`."+let kind "WordChoice"+let becomes ["currently", "as of now"]++test "Note that, as of currently, selecting a method on the list leaves it highlighted as such, until the script is changed." "Note that, currently, selecting a method on the list leaves it highlighted as such, until the script is changed."+test "As of currently, Cervo offers a set of inferers, noise generators (for continuous-action/parametrized policies), and a unified asset format." "As of now, Cervo offers a set of inferers, noise generators (for continuous-action/parametrized policies), and a unified asset format."\ No newline at end of filediff --git a/harper-core/src/linting/weir_rules/AsOfLate.weir b/harper-core/src/linting/weir_rules/AsOfLate.weirdeleted file mode 100644index 0d3ce7e05..000000000--- a/harper-core/src/linting/weir_rules/AsOfLate.weir+++ /dev/null@@ -1,8 +0,0 @@-expr main (as of lately)--let message "The standard form is `as of late`."-let description "Corrects `as of lately` to `as of late`."-let kind "WordChoice"-let becomes "as of late"--test "I haven't noticed any crashing with AMDGPU as of lately, so this looks to not be an issue anymore." "I haven't noticed any crashing with AMDGPU as of late, so this looks to not be an issue anymore."diff --git a/harper-core/src/linting/weir_rules/AsOfLately.weir b/harper-core/src/linting/weir_rules/AsOfLately.weirnew file mode 100644index 000000000..08cba9867--- /dev/null+++ b/harper-core/src/linting/weir_rules/AsOfLately.weir@@ -0,0 +1,9 @@+expr main (as of lately)++let message "Standard equivalents are `lately` or `as of late`."+let description "Corrects `as of lately` to `lately` or `as of late`."+let kind "WordChoice"+let becomes ["lately", "as of late"]++test "I haven't noticed any crashing with AMDGPU as of lately, so this looks to not be an issue anymore." "I haven't noticed any crashing with AMDGPU as of late, so this looks to not be an issue anymore."+test "As of lately, I've been more active on Gitlab." "As of late, I've been more active on Gitlab."