Skip to content

Commit

Permalink
docs: Add missing comma in CUSTOM_RULES.md (typescript-eslint#4464)
Browse files Browse the repository at this point in the history
* Add missing comma in docs

* chore: ran Prettier

Co-authored-by: Josh Goldberg <me@joshuakgoldberg.com>
Co-authored-by: Josh Goldberg <joshuakgoldberg@outlook.com>
  • Loading branch information
3 people authored and lonyele committed Feb 12, 2022
1 parent 4b9570d commit 1c87eea
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/development/CUSTOM_RULES.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,13 @@ const ruleTester = new ESLintUtils.RuleTester({
parser: '@typescript-eslint/parser',
});

ruleTester.run('my-rule', rule {
valid: [/* ... */],
invalid: [/* ... */],
ruleTester.run('my-rule', rule, {
valid: [
/* ... */
],
invalid: [
/* ... */
],
});
```

Expand Down

0 comments on commit 1c87eea

Please sign in to comment.