Closed 759325100 closed 1 week ago
vue/html-quotes to fix unexpected problems in the following code
<span :class='{"action": index === 0}'>
I got a wrong result
<span :class="{"action": index === 0}">
Checklist
Tell us about your environment
Please show your full configuration:
{ "vue/html-quotes": [ "error", "double"] }
What did you do?
What did you expect to happen?
<span :class="{'action': index === 0}">
What actually happened?
Repository to reproduce this issue
I think this is a situation that the rule fix tool ignores. If it can be taken into account, the compatibility may be better.
Refer to this https://github.com/vuejs/eslint-plugin-vue/issues/2587#issuecomment-2441149617
Yeah. It's duplicate of #2587.
vue/html-quotes to fix unexpected problems in the following code
I got a wrong result
Checklist
Tell us about your environment
Please show your full configuration:
What did you do?
What did you expect to happen?
What actually happened?
Repository to reproduce this issue