Skip to content

Instantly share code, notes, and snippets.

@kraihn
Created August 23, 2015 20:08
Show Gist options
  • Save kraihn/5ec3fb2f5fee519cc544 to your computer and use it in GitHub Desktop.
Save kraihn/5ec3fb2f5fee519cc544 to your computer and use it in GitHub Desktop.
; EditorConfig to support per-solution formatting.
; Use the EditorConfig VS add-in to make this work.
; http://editorconfig.org/
; This is the default for the codeline.
root = true
[*]
end_of_line = CRLF
[*.{cs,json}]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
[*.{proj,props,sln,targets}]
indent_style = tab
trim_trailing_whitespace = true
[*.{kproj,csproj,ps1,resx,rst}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment