-
-
Notifications
You must be signed in to change notification settings - Fork 675
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
Rule vue/script-setup-uses-vars
doesn't work well with eslint@typescript-eslint/no-unused-vars
#1617
Comments
vue/script-setup-uses-vars
doesn't well with eslint@typescript-eslint/no-unused-varsvue/script-setup-uses-vars
doesn't work well with eslint@typescript-eslint/no-unused-vars
vue/script-setup-uses-vars
doesn't work well with eslint@typescript-eslint/no-unused-varsvue/script-setup-uses-vars
doesn't work well with eslint@typescript-eslint/no-unused-vars
It looks to me that
Why did you think it is ignore? |
@ota-meshi sorry about the code. I've changed the section of |
It's possible that the version of |
globals.xxx LGTM 👍 |
I also started getting But it seems strange as per rule documentation the rule should be already included in After changing the order of plugins/configs in the Before:
...note this is the default eslint config the Vue CLI 4.5.13 is generating for a new TS/Vue 3 projects After:
Ping @ota-meshi - your comment (when closing related PR) is The order in which the rules are defined does not affect the behavior of the rules but in reality it does. Any idea ? |
Sorry if this is a basic question, but I am a bit lost between the question and the answer. @Jackie1210 mentions in the question
and then @Liwoj says that a working setup is
The first three entries in the question ( The solution however brings in three new (these are also the last three in the question) that I apparently do not have because I get
How can I install them? |
@wsw70 try |
Thank you @Jackie1210 - running
fixed the issues as far as I can tell. |
mark |
Checklist
Tell us about your environment
Please show your full configuration:
What did you do?
What did you expect to happen?
ignore
'fn' is assigned a value but never used.
What actually happened?
Rule eslint@typescript-eslint/no-unused-vars remind me
'fn' is assigned a value but never used.
Repository to reproduce this issue
The text was updated successfully, but these errors were encountered: