3 ms·
I think we've mostly agreed on editorconfig[1], though it doesn't concern itself with language-specific formatting - it's even built into a lot of editors. For
by turboponyy 3y ago
I think we've mostly agreed on editorconfig[1], though it doesn't concern itself with language-specific formatting - it's even built into a lot of editors.
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/ https://editorconfig.org/
2. https://github.com/numtide/treefmt https://github.com/numtide/treefmt
- happymellon 3y agoI'll have to check out EditorConfig. It looks like IntelliJ supports it, so that could cut down on the amount of work required to get it in a project.