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

Docs: indent_size wrong possible_values? #469

Open
Lilja opened this issue Aug 13, 2022 · 1 comment
Open

Docs: indent_size wrong possible_values? #469

Lilja opened this issue Aug 13, 2022 · 1 comment
Labels

Comments

@Lilja
Copy link

Lilja commented Aug 13, 2022

This might be petty, but in the wiki page here that is linked from the editor config website, the indent_size declarations's possible values is considered integer, compare that to tab_width which says it can only be a positive integer.

Shouldn't indent_size also only accept a positive integer?

@Lilja Lilja added the bug label Aug 13, 2022
@xuhdev
Copy link
Member

xuhdev commented Aug 15, 2022

Yes, both must be positive. It's not petty at all; actually, it's a good finding and our formal spec also missed this point: https://editorconfig-specification.readthedocs.io/#supported-pairs

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

No branches or pull requests

2 participants