lukastaegert/eslint-plugin-tree-shaking

Unknown node type JSXElement.

kurtextrem opened this issue · 2 comments

Code:

const loading = <Loading />

The Plugin should now support all JSX-Elements that I could replicate in tests. These are basically all nodes given in https://github.com/facebook/jsx/blob/master/AST.md (+ some reasonable side-effect detection) except JSXNamespacedName, JSXSpreadElement and JSXText.

Works great, thank you!