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

(fix) Make isASTNode function work with prettier 2.1.x #125

Merged
merged 1 commit into from Aug 25, 2020

Conversation

dummdidumm
Copy link
Member

This change alters the code such that we are independent of property-changes of both Svelte and Prettier by adding a __isRoot-property to the parser output root.
Fixes #123

This change alters the code such that we are independent of property-changes of both Svelte and Prettier by adding a `__isRoot`-property to the parser output root.
Fixes sveltejs#123
@dummdidumm dummdidumm merged commit a334764 into sveltejs:master Aug 25, 2020
@dummdidumm dummdidumm deleted the fix-is-root-node-fn branch August 25, 2020 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Formatting doesn't work (with newly released Prettier v2.1.0)
3 participants