Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

tab_width=0? #1

Closed
azz opened this issue Nov 8, 2017 · 1 comment
Closed

tab_width=0? #1

azz opened this issue Nov 8, 2017 · 1 comment

Comments

@azz
Copy link

azz commented Nov 8, 2017

Is it valid for tab width to be set to zero? If it is, is it intentionally omitted from output?

@josephfrazier
Copy link
Owner

This was discussed a bit in prettier/prettier#2760 (comment). Here was my response at the time:

Hmm, it looks like tab_width and max_line_length must be positive. I suppose someone could set indent_size to 0, but I'm not sure if that edge case is worth supporting right now. At least, I haven't had time to put effort into it.

I'll add that since the config translation has now been pulled out into this package, it should be easier to implement/test support for indent_size=0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants