8000 docs: Add missing comma in CUSTOM_RULES.md (#4464) · lonyele/typescript-eslint@1c87eea · GitHub
[go: up one dir, main page]

Skip to content

Commit 1c87eea

Browse files
zaicevasJoshuaKGoldbergJosh Goldberg
authored andcommitted
docs: Add missing comma in CUSTOM_RULES.md (typescript-eslint#4464)
* Add missing comma in docs * chore: ran Prettier Co-authored-by: Josh Goldberg <me@joshuakgoldberg.com> Co-authored-by: Josh Goldberg <joshuakgoldberg@outlook.com>
1 parent 4b9570d commit 1c87eea

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/development/CUSTOM_RULES.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,13 @@ const ruleTester = new ESLintUtils.RuleTester({
277277
parser: '@typescript-eslint/parser',
278278
});
279279

280-
ruleTester.run('my-rule', rule {
281-
valid: [/* ... */],
282-
invalid: [/* ... */],
280+
ruleTester.run('my-rule', rule, {
281+
valid: [
282+
/* ... */
283+
],
284+
invalid: [
285+
/* ... */
286+
],
283287
});
284288
```
285289

0 commit comments

Comments
 (0)
0