Skip to content

Commit f248e68

Browse files
docs: [no-floating-promises] remove ugly commas (typescript-eslint#9034)
remove ugly commas
1 parent 225fd34 commit f248e68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Valid ways of handling a Promise-valued statement include:
2222

2323
This rule also reports when an Array containing Promises is created and not properly handled. The main way to resolve this is by using one of the Promise concurrency methods to create a single Promise, then handling that according to the procedure above. These methods include:
2424

25-
- `Promise.all()`,
26-
- `Promise.allSettled()`,
25+
- `Promise.all()`
26+
- `Promise.allSettled()`
2727
- `Promise.any()`
2828
- `Promise.race()`
2929

0 commit comments

Comments
 (0)