mozilla / eslint-plugin-no-unsanitized

Custom ESLint rule to disallows unsafe innerHTML, outerHTML, insertAdjacentHTML and alike
Mozilla Public License 2.0
223 stars 34 forks source link

Add test for custom escapers using template strings - fixes #108 #109

Closed mozfreddyb closed 4 years ago

mozfreddyb commented 4 years ago

@jonathanKingston Should be a simple review. Just adding test cases, which all pass (yay).

jonathanKingston commented 4 years ago

I see a indent rule breaking CI for line 137. Please fix before merging :).

mozfreddyb commented 4 years ago

@jonathanKingston Please review or approve, so I can merge :)