Skip to content

Commit

Permalink
docs: [no-floating-promises] remove ugly commas (#9034)
Browse files Browse the repository at this point in the history
remove ugly commas
  • Loading branch information
kirkwaiblinger committed May 3, 2024
1 parent 225fd34 commit f248e68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/eslint-plugin/docs/rules/no-floating-promises.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Valid ways of handling a Promise-valued statement include:

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:

- `Promise.all()`,
- `Promise.allSettled()`,
- `Promise.all()`
- `Promise.allSettled()`
- `Promise.any()`
- `Promise.race()`

Expand Down

0 comments on commit f248e68

Please sign in to comment.