We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've just upgraded to syntax_tree version 6.2.0.
syntax_tree
6.2.0
Formatting with Prettier is now changing:
basket_id = 123 total = 10 { "basket.id": basket_id, total: }
In to:
basket_id = 123 total = 10 { "basket.id" => basket_id, total: }
Note the "basket.id" key is changing from a symbol in to a string, causing some test assertions to fail.
"basket.id"
It seems to be something to do with the shorthand hash syntax. The following does not change when formatted:
basket_id = 123 total = 10 { "basket.id": basket_id, total: total }
Let me know if you need any more details, of if this needs to be addressed at the Prettier side, I'm unclear how the two interact.
The text was updated successfully, but these errors were encountered:
stree write
No branches or pull requests
I've just upgraded to
syntax_tree
version6.2.0
.Formatting with Prettier is now changing:
In to:
Note the
"basket.id"
key is changing from a symbol in to a string, causing some test assertions to fail.It seems to be something to do with the shorthand hash syntax. The following does not change when formatted:
Let me know if you need any more details, of if this needs to be addressed at the Prettier side, I'm unclear how the two interact.
The text was updated successfully, but these errors were encountered: