GitHub's web interface already supports editorconfig files which is handy when viewing diffs for code which use an other than 4-space tab setting. This formatting definition file is supported by a lot of apps and platforms already, you can see a complete list on this page:
The problem I'm facing is that when viewing diffs in SourceTree for a project that uses tabs with an 8-space width, nothing is lined up correctly. On GitHub the diff is viewable without a problem (because it reads an editorconfig file when present). And in my editor (Visual Studio Code) everything is lined up correctly because I'm using an editorconfig plugin.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events