require-throws
: false positive in async
function
#722
Labels
require-throws
: false positive in async
function
#722
Expected behavior
Do not report
require-throws
when athrow
is added in anasync
function (because the function returns a rejected promise).Actual behavior
If an
async
function contains athrow
, ESLint reportrequire-throws
rule:ESLint Config
ESLint sample
Environment
eslint-plugin-jsdoc
version: 33.0.0The text was updated successfully, but these errors were encountered: