|
|
|
|
|
by happymellon
923 days ago
|
|
Considering that we lost tabs because some peoples text editors and web browsers rendered them as 8 spaces, and drew the wrong conclusion, I don't have much hope for your plan. However I would be completely on board if we could agree on a formatting configuration file that people could check into a repo for IDEs to pick up. |
|
For language-specific formatting, you can run formatters in pre-commit-hooks and CI. Treefmt[2] can help with that if you want to cover a lot of languages in your repo.
1. https://editorconfig.org/
2. https://github.com/numtide/treefmt