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

support es2016+ syntax #25

Closed mozfreddyb closed 7 years ago

mozfreddyb commented 7 years ago

(depending on nodejs compat and nodejs uptake)

jonathanKingston commented 7 years ago

In the latest ESLint they require node >4 https://github.com/eslint/eslint/blob/e4da200c712f7a70e2495f94d3a737e951de91ab/package.json#L120

Testing with 4.2.6 the following features are available at least the following: