Skip to content

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

feat: in the best of times→at the best of times (#3133)

Andrew Dunbar1eceaaf6b6a1
diff --git a/harper-core/src/linting/weir_rules/AtTheBestOfTimes.weir b/harper-core/src/linting/weir_rules/AtTheBestOfTimes.weir
new file mode 100644
index 000000000..535c073ce
--- /dev/null
+++ b/harper-core/src/linting/weir_rules/AtTheBestOfTimes.weir
@@ -0,0 +1,8 @@
+expr main (in the best of times)
+
+let message "Did you mean `at the best of times`?"
+let description "Corrects `in the best of times` to `at the best of times`."
+let kind "Usage"
+let becomes "at the best of times"
+
+test "Hacking around with YAML file output in bash or even via an Ansible playbook is not that fun in the best of times." "Hacking around with YAML file output in bash or even via an Ansible playbook is not that fun at the best of times."
\ No newline at end of file