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

{ bracketSpacing } for HTML? #341

Open
Shiinoya opened this issue Feb 3, 2023 · 2 comments
Open

{ bracketSpacing } for HTML? #341

Shiinoya opened this issue Feb 3, 2023 · 2 comments

Comments

@Shiinoya
Copy link

Shiinoya commented Feb 3, 2023

Hello there. Just wondering if this was a possibility. Just like how "bracketSpacing": true works for JS, is it possible to have it work for HTML? I have looked through quite a bit of places and it seems to me this is not an option. At the very least, I did not find it.

I rather not prettier ignore every line or ignore HTML overall.

Seems to me the way Svelte works, it'd be a nice feature for those who like the spacing in their JS.

Unless of course, it's already possible and I am blind 🧐 Thanks in advance.

@dummdidumm
Copy link
Member

So you'd like to have <div foo={ bar } /> instead of <div foo={bar} />?
There's no option for this currently.

@Shiinoya
Copy link
Author

Shiinoya commented Feb 3, 2023

@dummdidumm Yes, as well as { #if } , etc. Would it be hard to implement?

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

No branches or pull requests

2 participants