hogsy / OniFoxed

Bungie's Oni modified so it compiles with Microsoft Visual Studio 2019.
79 stars 19 forks source link

Add .editorconfig to have some formatting uniformity #3

Closed madebr closed 2 years ago

madebr commented 2 years ago

Adding a .editorconfig allows the IDE's to do some basic auto formating. This file is vendor/IDE neutral and supported by a few. See https://editorconfig.org/

I've configured hard tabs for all sources (.c/.h/cmake) with a 4 char indentation. It seems like the oni sources are formatted that way, so it makes sense imho.