Skip to content

Commit dc82d18

Browse files
committed
Make the checksVoidReturn option for @typescript-eslint/no-misused-promises false
1 parent 9b439c0 commit dc82d18

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,11 @@ module.exports = {
197197
'error',
198198
{
199199
checksConditionals: true,
200-
checksVoidReturn: true,
200+
201+
// TODO: I really want this to be `true`, but it makes it inconvenient to use
202+
// async functions as event handlers... I need to find a good way to handle that.
203+
// https://github.com/sindresorhus/refined-github/pull/2391#discussion_r318990466
204+
checksVoidReturn: false
201205
}
202206
],
203207

0 commit comments

Comments
 (0)