Skip to content

Commit

Permalink
docs(eslint-plugin): [no-floating-promises] correct typo in 'allowAsS…
Browse files Browse the repository at this point in the history
…tatement' (#3154)
  • Loading branch information
MaikoTan committed Mar 9, 2021
1 parent dd25790 commit d3086d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-plugin/docs/rules/no-floating-promises.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void returnsPromise();
void Promise.reject('value');
```

With this option set to `true`, and if you are using `no-void`, you should turn on the [`allowAsAStatement`](https://eslint.org/docs/rules/no-void#allowasstatement) option.
With this option set to `true`, and if you are using `no-void`, you should turn on the [`allowAsStatement`](https://eslint.org/docs/rules/no-void#allowasstatement) option.

### `ignoreIIFE`

Expand Down

0 comments on commit d3086d8

Please sign in to comment.