You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some challenges for supporting a complete list of HTML entities. There are many HTML entities, and including all entities will make the allowlist very long.
IMO, the original intention of the rule design is to allow common punctuation marks and special characters, not for all. Maybe a more feasible approach could be to add only the HTML entities you actually use in your project to the allowlist option (will support regexp patterns).
If you frequently use various HTML entities, you may need to consider disabling this rule for specific code segments, or bypassing the check in other ways, like {{ '‍' }}.
What rule do you want to change?
vue/no-bare-strings-in-template
Does this change cause the rule to produce more or fewer warnings?
Fewer
How will the change be implemented? (New option, new default behavior, etc.)?
New value for default option
Please provide some example code that this change will affect:
What does the rule currently do for this code?
What will the rule do after it's changed?
No error reported
Additional context
The text was updated successfully, but these errors were encountered: