-
-
Notifications
You must be signed in to change notification settings - Fork 681
no-unused-properties: Misses v-bind inside "style" section (with repro) #1789
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
Comments
This exact issue has been fixed in the latest release: https://github.com/vuejs/eslint-plugin-vue/releases/tag/v8.4.0 Note that the eslint-plugin-vue version you're using (v7.0.0) was released one year ago and many newer versions exist. |
I have upgraded eslint-plugin-vue to 8.4.0 in reproduction repository: It does not fix issue. I have checked version inside node_modules folder: My project where I originally had the issue was upgraded to version 8.4.0 on 27 January and I am reporting issue more than week after. So I am surely using latest version. The only reason why I mentioned v7.0.0 is because I created reproduction repository with "vue create" command and it installed v7.0.0. But now I upgraded reproduction repository, as mentioned above. Please, re-open. And please, pay attention to my comment about combination of "vue/no-unused-components" and "vue/no-unused-properties" rules: |
@ota-meshi Can xou have a look at this? |
I tried debugging it. |
Checklist
Tell us about your environment
Please show your full configuration:
See:
https://github.com/ilyub/repro-vue-no-unused-properties/blob/master/.eslintrc.js
What did you do?
See:
https://github.com/ilyub/repro-vue-no-unused-properties/blob/master/src/components/HelloWorld.vue
What did you expect to happen?
One error: from otherProp.
What actually happened?
Two errors: from otherProp and background.
Note that background is used in "style" section.
IMPORTANT NOTE:
Bug occurs in the presense of "vue/no-unused-components".
If you disable it then you get one error as expected.
Repository to reproduce this issue
https://github.com/ilyub/repro-vue-no-unused-properties
The text was updated successfully, but these errors were encountered: