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

Make tags optional when formatting #17

Open
artemisSystem opened this issue Sep 26, 2022 · 1 comment
Open

Make tags optional when formatting #17

artemisSystem opened this issue Sep 26, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@artemisSystem
Copy link

Would be nice if you could leave out the tags field when formatting if you don't need to format type tags. Currently it just errors if it's missing.

@larsgw larsgw added the enhancement New feature or request label Oct 16, 2023
@larsgw
Copy link
Collaborator

larsgw commented Oct 16, 2023

This is probably a bit annoying with TypeScript. When parsing a document it's nice to have a guarantee that node.values is always an array, for example. So it would need a separate set of types for the formatter, I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants