Closed billiegoose closed 4 years ago
ping
Thanks for the PR! I finally got round to addressing this issue, albeit in a slightly different way — using Acorn to generate an AST, then checking there are no nodes that aren't of the type ImportDeclaration
. It's a bit more heavy handed, but eliminates any possible edge cases.
fixes #3 Do you want this at all? Should I put it behind a flag?
p.s. I have no idea what I'm doing.