Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip unknown node types #588

Open
davidbonnet opened this issue Nov 21, 2021 Discussed in #587 · 1 comment
Open

Skip unknown node types #588

davidbonnet opened this issue Nov 21, 2021 Discussed in #587 · 1 comment

Comments

@davidbonnet
Copy link
Owner

Discussed in #587

Originally posted by stefanprobst November 14, 2021
hi @davidbonnet, what do you think about allowing to (optionally) skip unknown node types? for example the typescript nodes created by @typescript-eslint/typescript-estree. i know very little about asts, but maybe like this small change? thanks!

@davidbonnet
Copy link
Owner Author

The suggested change is incomplete though.
IMHO, it would be more practical to transform the AST using a tool like astravel which would remove unknown nodes prior rendering them to actual code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant