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
the property methods specifies a list of functions that accept a string a return a sanitized string.
the property taggedTemplates specifices a list of functions that are used with tagged template strings (e.g., myHTMLTemplate`<p>${hello}</p>`;). Those should also return a sanitized string
Any example of this can be found here:
https://github.com/mozilla/eslint-plugin-no-unsanitized/blob/master/tests/rules/property.js#L142
Is it possible to get documentation showing an example of this in an eslint rc?
The text was updated successfully, but these errors were encountered: