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
This setup will cause a lint error (yarn lint).
VSCode still displays it as a warning, even when I import DOMPurify and create a local function to sanitize (which removes the lint error/ warning in the console).
Hello!
We have a setup where we share a mixin through multiple Vue components, and were hoping that this plugin would work with said structure.
This is a sample of the configuration:
The mixin:
A component (:
Using this approach we get the eslint error: "XSS potentially found: use of v-html"
Of course, adding the computed functions within each component does work as intended, but we wanted to see if it was possible to reduce repeated code.
Thanks!
The text was updated successfully, but these errors were encountered: