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

Allow to configure curly spacing like Prettier #549

Closed
BasixKOR opened this issue May 16, 2021 · 2 comments
Closed

Allow to configure curly spacing like Prettier #549

BasixKOR opened this issue May 16, 2021 · 2 comments

Comments

@BasixKOR
Copy link

For now, the only way to turn on curly spacing is using Prettier with bracketSpacing, or just override the rules directly.

I prefer curly spacing personally, and I think it should be configurable easily as Prettier does.

@sindresorhus
Copy link
Member

Thanks for the suggestion. I'm unfortunately not going to add this. XO has existed for years and this is the first time this is being requested, so it doesn't seem like a common need. I'm also the only one maintaining XO and I don't really want more complexity to maintain.

@papb
Copy link

papb commented May 18, 2021

I also prefer curly spacing, but I just overwrite the rule in package.json, and it has always worked. Example

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

3 participants