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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy