GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
Looks like the getTokenSkipNewLine function could be used here to allow multi-line objects. What do you think ?
Wow, good point. Never realized that this isn't supported right now, it would be really useful to allow multi line inside objects.
Anyone interested in creating a PR to improve this?
Fix object literal enable multiple lines (josdejong#1328)
* Allow object literal expression be multiple lines
* Add test for multiple lines object literal
Fix object literal enable multiple lines (#1328) (#1349)
This issue has been addressed by @GHolk, in v5.4.0 multi-line object contents can be used.
Cool thanks @GHolk !