We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86a2b61 commit 7d72969Copy full SHA for 7d72969
src/parser-services.ts
@@ -63,7 +63,9 @@ export function define(rootAST: ESLintProgram): ParserServices {
63
64
// If this is the first time, initialize the intermediate event emitter.
65
if (emitter == null) {
66
- emitters.set(rootAST, (emitter = new EventEmitter()))
+ emitter = new EventEmitter()
67
+ emitter.setMaxListeners(0)
68
+ emitters.set(rootAST, emitter)
69
70
const programExitHandler = scriptVisitor["Program:exit"]
71
scriptVisitor["Program:exit"] = node => {
0 commit comments