mozilla / eslint-plugin-no-unsanitized

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

Comment code removal #18

Closed jonathanKingston closed 7 years ago

jonathanKingston commented 7 years ago

As ESLint has it's own way of removing current and next lines via comments I would move to deprecate code specific to Bugzilla for turning off the code.

https://github.com/mozfreddyb/eslint-plugin-no-unsafe-innerhtml/blob/master/lib/rules/no-unsafe-innerhtml.js#L88

mozfreddyb commented 7 years ago

agreed. #20 addresses this.