-
Notifications
You must be signed in to change notification settings - Fork 896
chore: update editorconfig with new tabs default #14335
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
Conversation
✅ Meticulous spotted zero visual differences across 1477 screens tested: view results. Expected differences? Click here. Last updated for commit e595808. This comment will update as new commits are pushed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh! I didn't notice we had a second one of these inside site/. good catch!
I think it makes more sense to change the default though (since basically every file in this folder should use tabs now) rather than add them as an exception.
Something like...
[*]
indent_style = tab
indent_size = 2
[node_modules/**]
ignore = true
(settings indent_size
is actually still important for non-obvious reasons)
Makes sense to me! Good point on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
beautiful!
Actually, does |
I would hope not, but it can be important for stuff like yaml files that don't support tab indentation. we can try leaving it unset for now if you'd like, and we can always set it later if it's causing issues. |
Sweet, lemme unset it for now then. I just did some brief testing with VS Code and the editorconfig plugin and it did change the visual tab width which seems kinda insane to me but I suppose it is what it is |
I explicitly added
tsx
andts
since I am not sure if we have other file types that got changed to tabs, lemme know if I missed some.