Skip to content

Allow comments in .swift-format files #1011

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

Closed
rgoldberg opened this issue May 3, 2025 · 1 comment · Fixed by #1014
Closed

Allow comments in .swift-format files #1011

rgoldberg opened this issue May 3, 2025 · 1 comment · Fixed by #1014

Comments

@rgoldberg
Copy link

Allow comments in .swift-format files. Use JSON5 or some other format that supports comments.

@allevato
Copy link
Member

allevato commented May 5, 2025

This seems like a straightforward change; I think we just need to enable allowsJSON5 on the JSONDecoder.

Happy to review a PR that adds that if someone wants to beat me to it.

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 a pull request may close this issue.

2 participants