From f248e689b04bdfd81429977a731ba6b8ad82622e Mon Sep 17 00:00:00 2001 From: Kirk Waiblinger Date: Thu, 2 May 2024 22:21:42 -0600 Subject: [PATCH] docs: [no-floating-promises] remove ugly commas (#9034) remove ugly commas --- packages/eslint-plugin/docs/rules/no-floating-promises.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/eslint-plugin/docs/rules/no-floating-promises.mdx b/packages/eslint-plugin/docs/rules/no-floating-promises.mdx index 6b42594dae63..9ef3c839825e 100644 --- a/packages/eslint-plugin/docs/rules/no-floating-promises.mdx +++ b/packages/eslint-plugin/docs/rules/no-floating-promises.mdx @@ -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()`