Skip to content

Commit

Permalink
Merge branch 'main' of github.com:abrahamguo/typescript-eslint into d…
Browse files Browse the repository at this point in the history
…uplicate-test-cases
  • Loading branch information
abrahamguo committed May 3, 2024
2 parents 6693ea3 + f248e68 commit 4fe40ce
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 4fe40ce

Please sign in to comment.