mozilla / eslint-plugin-no-unsanitized

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

Refactor long if/else in isAllowedExpression into case/switch #181

Closed mozfreddyb closed 3 years ago

mozfreddyb commented 3 years ago

This should be very typical refactor.