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

s/no-unsafe-innerhtml/no-unsanitized/g #46

Closed mozfreddyb closed 7 years ago

mozfreddyb commented 7 years ago

r? @jonathanKingston

jonathanKingston commented 7 years ago

Will the following task "Create rules for each type: no-unsanitized/property, no-unsanitized/method, no-unsanitized/jsx" be a follow up?

I totally was happy to do all the work here, pretty sure you have more important things to attend to right now :).

Looks good from my initial look @mozfreddyb let me know about the splitting though :).

jonathanKingston commented 7 years ago

Looks like the repo was moved (which admittedly is what I put in the comment) which means a slightly different path to the plan on handling users of the older code base. Will update #45

mozfreddyb commented 7 years ago

thanks for the speedy review. and yes, let's do naming things (e.g, "no unsanitized dom access") in a follow-up.