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

Pick up customization from .editorconfig? #150

Closed
michaek opened this issue Oct 4, 2016 · 2 comments
Closed

Pick up customization from .editorconfig? #150

michaek opened this issue Oct 4, 2016 · 2 comments

Comments

@michaek
Copy link

michaek commented Oct 4, 2016

It's great that there are so many ways to customize xo! I'm curious if you think it might be valuable for xo to check a present .editorconfig (perhaps just the [*] entry for simplicity) for overrides for options like "indent_size" and "indent_style" that would otherwise be configured in multiple places.

The main reason that I ask, rather than just accepting a tiny amount of duplicate configuration, is that I know you've shown some interest in using .editorconfig files to ensure formatting consistency. :)

Thanks!

@jednano
Copy link

jednano commented Aug 13, 2019

Some interest? He's an EditorConfig board member! 😄

I also agree that this feature should be implemented. It's something that Prettier does as well.

@fregante
Copy link
Member

fregante commented Jan 4, 2023

I think there are two ways to go around this:

  • creating eslint-config-editorconfig if it doesn't yet exist and then extend it in XO
  • using XO’s own --prettier flag

Since this issue is now old enough for first grade, I'd guess it's not going to be picked up.

@fregante fregante closed this as not planned Won't fix, can't repro, duplicate, stale Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants