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

Fix unexpected callee newexpression (fix #73) #74

Closed mozfreddyb closed 6 years ago

mozfreddyb commented 6 years ago

The return value of a NewExpression can't be scanned so easily with a linter, so I'm allowing all NewExpressions.

Can you take a brief look @jonathanKingston?

mozfreddyb commented 6 years ago

(Prior build bustage was a travis ci infra failure, please review @jonathanKingston)

jonathanKingston commented 6 years ago

LGTM 👍