Route a rejecting async listener to sessionError instead of the process

This commit is contained in:
2026-08-27 22:22:51 +02:00
parent 3c6195a938
commit 0e8f298957
7 changed files with 111 additions and 16 deletions
+2 -2
View File
@@ -49,8 +49,8 @@ export default tseslint.config(
rules: { 'no-control-regex': 'off' },
},
{
// Mirrors the README's examples as written; an async event listener is part of what they show.
files: ['test/readme.test.ts'],
// An async event listener is a documented, supported shape; EventEmitter types listeners void.
files: ['test/*.test.ts'],
rules: { '@typescript-eslint/no-misused-promises': 'off' },
},
{