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 more explanation of default args to docs #67

Open jonathanKingston opened 6 years ago

jonathanKingston commented 6 years ago

Follow up to #65

There is likely a lot of expansion we could add to the customisation and also how to disable the defaults. I know for example we made it so you can override the sanitizers safely without having to disable the default innerHTML checks for example.

mozfreddyb commented 6 years ago

To be honest, I wasn't sure whether I figured things out correctly when I did #65, so I left it out. Would be great if you could help me with that.