What did you expect to happen?
In both cases the prop example should be recognized as used.
What actually happened?
> eslint . --max-warnings=0
[path]/TestExample.vue
8:3 error 'example' of property found, but never used vue/no-unused-properties
✖ 1 problem (1 error, 0 warnings)
Repository to reproduce this issue
Minimal reproduction code is above.
Checklist
Tell us about your environment
Please show your full configuration:
.eslintrc.cjs
What did you do? This throws
'example' of property found, but never used vue/no-unused-properties
:When the
useExample
is in the same file then there is no error:What did you expect to happen? In both cases the prop example should be recognized as used.
What actually happened?
Repository to reproduce this issue Minimal reproduction code is above.