editorconfig not retaining formatting on Github Repo files

54 views Asked by At

I don't get it, why isn't my code showing up in this format on github for my repo when I view the code on github?

.editorconfig

root = true

[*.js]
indent_style = tab
indent_size = 2

Instead it's showing up like this: enter image description here

0

There are 0 answers