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

Update babel requirements and deal with newer 'import' parsing #148

Closed gijsk closed 4 years ago

gijsk commented 4 years ago

I need this for the patch for #147 , as it needs a more modern babel. Other parsers (e.g. acorn as used on https://astexplorer.net/ ) also use the ImportExpression node type.