Fix lint errors: remove unused imports, fix floating promises, clean up eslint directives

- Remove unused eslint-disable directives from multiple files
- Fix floating promise in baileys-event-stream.ts by adding void operator
- Remove unused import recordMessageRetry from messages-send.ts
- Prefix unused variable beforeTime with underscore in test file
- Remove incorrect eslint-disable comments that were causing prettier errors

Progress: Reduced from 68 to 35 errors. Remaining errors are primarily max-depth issues.

https://claude.ai/code/session_015R3U3kiprQiNTTNNt31Sg6
This commit is contained in:
Claude
2026-02-13 23:13:20 +00:00
parent e37bf5c2d5
commit 26247c7681
17 changed files with 9 additions and 26 deletions
+2 -2
View File
@@ -310,7 +310,7 @@ export class BaileysEventStream extends EventEmitter {
// Process if not paused
if (!this.paused && !this.isProcessing) {
this.processNext()
void this.processNext()
}
return true
@@ -598,7 +598,7 @@ export class BaileysEventStream extends EventEmitter {
resume(): void {
this.paused = false
this.emit('resume')
this.processNext()
void this.processNext()
}
/**