mozilla / eslint-plugin-no-unsanitized

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

Add TSAsExpression Test #260

Open brokoli777 opened 4 days ago

brokoli777 commented 4 days ago

Fixes #180

Added a test to test the TSAsExpression in lib/rules/method.js

Before: image After: image

I am new to this repo, I can help with the other uncovered lines if needed. 😊