Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
docs(core): minor edits
Elijah Potter506fd86f47dd
diff --git a/packages/web/src/routes/docs/contributors/author-a-rule/+page.md b/packages/web/src/routes/docs/contributors/author-a-rule/+page.mdindex bbaa7b9c4..e2feda9b6 100644--- a/packages/web/src/routes/docs/contributors/author-a-rule/+page.md+++ b/packages/web/src/routes/docs/contributors/author-a-rule/+page.md@@ -29,6 +29,7 @@ Please read our [guide for getting your environment set up](./environment).Next, you'll want to open a draft pull request.This gives us (the Harper maintainers) a better view of what is actively being worked on.It also makes it much easier to ask questions about how Harper works while you're working on your rule.+[This page has more detail on why we want draft pull requests as early as possible.](https://elijahpotter.dev/articles/never_wait).GitHub has some [good documentation on how to create a draft PR](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork) if this is your first time.@@ -55,8 +56,10 @@ This method also covers more complex cases, like if one of the words contains caSimilarly, if you just want Harper to enforce proper capitalization of a multi-token proper noun (like "Tumblr Blaze") you just need to add an entry to `harper-core/proper_noun_rules.json`.-```json+```javascript+// The name of the rule"TumblrNames": {+ // The canonical capitalization of the proper noun."canonical": ["Tumblr Blaze","Tumblr Pro",@@ -66,11 +69,12 @@ Similarly, if you just want Harper to enforce proper capitalization of a multi-t"Tumblr Shop","Tumblr Dashboard"],+ // A description to be shown to the user when they make a mistake."description": "Ensure proper capitalization of Tumblr-related terms."},```-If neither of those match the rule you have in mind, continue on to the next section.+If neither of those work for the rule you have in mind, continue on to the next section.## Create Your Rule's Module@@ -172,7 +176,7 @@ impl PatternLinter for ThatWhich {## Test Your Changes-To test your rule, write out an example of the error it looks for in a test file at the root of the Harper monorepo.+To test your rule, first write out an example of the error it looks for in a test file at the root of the Harper monorepo.```markdown title="test.md"This is an test of the `an_a` rule.