Skip to content

Conversation

sawa-zen
Copy link
Contributor

@sawa-zen sawa-zen commented Apr 17, 2019

A warning was issued to set setMaxListeners from EventEmitter, and I fixed to hide the warning.

↓example

$ npm run lint

> ci-eslint@1.0.0 lint /Users/sawa-zen/develop/sandbox/ci-eslint
> eslint --ext .js,.vue --ignore-path .gitignore .

(node:92395) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 VElement listeners added. Use emitter.setMaxListeners() to increase limit

if (emitter == null) {
emitters.set(rootAST, (emitter = new EventEmitter()))
emitter = new EventEmitter()
emitter.setMaxListeners(0)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please, where ai find this file? I'm this error later install the plugin eslint-config-vuetify. thanks

Copy link
Member

@mysticatea mysticatea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants