require-explicit-slots
does not recognize slot names enclosed in quotes
#2391
Labels
require-explicit-slots
does not recognize slot names enclosed in quotes
#2391
Checklist
Tell us about your environment
Please show your full configuration:
Not relevant
What did you do?
What did you expect to happen?
What actually happened?
require-explicit-slots
does not recognize slot names enclosed in quotes. Sometimes the quotes are necessary to have a slot name with a hyphen. It falsely reports that the slot was not explicitly defined usingdefineSlots
.Repository to reproduce this issue
The simplest reproduction is just going to the rule page on the eslint-plugin-vue site and enclose
foo
in any quotes like that:The text was updated successfully, but these errors were encountered: