8000 docs: [no-floating-promises] add MDN link regarding void operator (#9… · ronami/typescript-eslint@dbcade8 · GitHub
[go: up one dir, main page]

Skip to content

Commit dbcade8

Browse files
docs: [no-floating-promises] add MDN link regarding void operator (typescript-eslint#9953)
1 parent ead85a3 commit dbcade8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eslint-plugin/docs/rules/no-floating-promises.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ await createMyThenable();
131131

132132
### `ignoreVoid`
133133

134-
This option, which is `true` by default, allows you to stop the rule reporting promises consumed with void operator.
134+
This option, which is `true` by default, allows you to stop the rule reporting promises consumed with the [`void` operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/void).
135135
This can be a good way to explicitly mark a promise as intentionally not awaited.
136136

137137
Examples of **correct** code for this rule with `{ ignoreVoid: true }`:

0 commit comments

Comments
 (0)
0