Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
feat: prev → previous (#2598)
Andrew Dunbarfc2fd37bfa5f
diff --git a/harper-core/src/linting/weir_rules/ExpandPrevious.weir b/harper-core/src/linting/weir_rules/ExpandPrevious.weirnew file mode 100644index 000000000..e42d0037a--- /dev/null+++ b/harper-core/src/linting/weir_rules/ExpandPrevious.weir@@ -0,0 +1,8 @@+expr main (prev)++let message "Use `previous` instead of `prev`"+let description "Expands the abbreviation `prev` to the full word `previous` for clarity."+let kind "Style"+let becomes "previous"++test "Just change :after by :before in the code above. Otherwise, you'll see the default prev/next images + the font awesome chevrons.Read" "Just change :after by :before in the code above. Otherwise, you'll see the default previous/next images + the font awesome chevrons.Read"\ No newline at end of file