Skip to content

Commit

Permalink
Update no-floating-promises.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bradzacher committed Apr 20, 2020
1 parent 00d9312 commit b741c77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/eslint-plugin/docs/rules/no-floating-promises.md
Expand Up @@ -83,11 +83,11 @@ This allows you to skip checking of async iife
Examples of **correct** code for this rule with `{ ignoreIIFE: true }`:

```ts
await(async function () {
await(async function() {
await res(1);
})();

(async function () {
(async function() {
await res(1);
})();
```
Expand Down

0 comments on commit b741c77

Please sign in to comment.