Skip to content

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

feat: aware about→aware of (#2902)

Andrew Dunbar97da3b66092d
diff --git a/harper-core/src/linting/weir_rules/AwareOf.weir b/harper-core/src/linting/weir_rules/AwareOf.weir
new file mode 100644
index 000000000..a98ab5c30
--- /dev/null
+++ b/harper-core/src/linting/weir_rules/AwareOf.weir
@@ -0,0 +1,9 @@
+expr main (aware about)
+
+let message "Use `aware of` instead of `aware about`."
+let description "Corrects `aware about` to the standard `aware of`."
+let kind "Usage"
+let becomes "aware of"
+
+test "\"no-member\" checks is not aware about the scope" "\"no-member\" checks is not aware of the scope"
+test "OP-TEE core will still be aware about that id, but at least we will be able to change it in runtime." "OP-TEE core will still be aware of that id, but at least we will be able to change it in runtime."
\ No newline at end of file