I was trying to use your library in react project coded with coffeescript and run into some issues:
I'm running coffee-reactify transform before this so everything is pure javascript.
First all my files have '.cjsx' extension so it just skipped all those...would be nice to add .cjsx to the list or somehow specify which extension to go through.
It also seems to skip require statements written in coffeescript because it is checking
if (node.parent.parent.type === 'VariableDeclarator')
If my reasoning is correct this happens because coffeescript is declaring variables first and at that point it's just an assignment operation (AssignmentExpression)
I was trying to use your library in react project coded with coffeescript and run into some issues:
I'm running coffee-reactify transform before this so everything is pure javascript.
First all my files have '.cjsx' extension so it just skipped all those...would be nice to add .cjsx to the list or somehow specify which extension to go through.
It also seems to skip require statements written in coffeescript because it is checking
if (node.parent.parent.type === 'VariableDeclarator')
If my reasoning is correct this happens because coffeescript is declaring variables first and at that point it's just an assignment operation (AssignmentExpression)