-
-
Notifications
You must be signed in to change notification settings - Fork 39
-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no-unused-keys
is very slow
#354
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What rule do you want to change?
Does this change cause the rule to produce more or fewer warnings?
No difference.
How will the change be implemented? (New option, new default behavior, etc.)?
Unclear.
Please provide some example code that this change will affect:
As per rule docs.
What does the rule currently do for this code?
Reports correctly, but slowly.
What will the rule do after it's changed?
The same, but more quickly.
Additional context
I used
TIMING=1
to profile my ESLint config, which includes the following rule config:@intlify/vue-i18n/no-unused-keys
came out as taking almost half the overall runtime of ESLint! I found that setting thesrc
option reduced the runtime but it's still the slowest rule in my config by a significant margin.The text was updated successfully, but these errors were encountered: