-
Notifications
You must be signed in to change notification settings - Fork 8
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
Support JSON with comments (tsconfig) #11
Comments
I realised that using JSON5 you would still loose the comments when writing the file back. In order to preserve the comments we would probably need to use something like momoa. https://github.com/hjson allows roundtrip of comments. |
I'm running into this issue. Did you find a solution? |
@b0o Unfortunately not yet. We ended up just stripping the comments from all tsconfig.json files. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
tsconfig.json
file supports comments. When I tried to use this package to synctsconfig.json
withpackage.json
I got an error message for existingtsconfig.json
files:I think this is because those files have comments. Perhaps JSON could be parsed with JSON5 instead to allow for this?
The text was updated successfully, but these errors were encountered: