mozilla / eslint-plugin-no-unsanitized

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

Add support for setHTMLUnsafe - fix #232 #235

Closed mozfreddyb closed 5 months ago

mozfreddyb commented 5 months ago

I'm using eslint to also perform syntax checking. It seems to be OK with newlines and I don't have strong feelings either way. Happy to move to a different formatter, but ideally in a different PR.

Thanks for the speedy review!