Created
December 30, 2018 10:18
-
-
Save kazuki-ma/795be871d69c9f29736546ffdde0ae04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# see http://editorconfig.org/ for docs on this file | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 4 | |
end_of_line = lf ; help with sharing files across os's (i.e. network share or through local vm) | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
[*.{cs,meta,shader}] | |
charset = utf-8-bom | |
# trailing whitespace is significant in markdown (bad choice, bad!) | |
[*.{md,markdown}] | |
trim_trailing_whitespace = false | |
# keep these and the VS stuff below in sync with .hgeol's CRLF extensions | |
[*.{vcproj,bat,cmd,xaml,tt,t4,ttinclude}] | |
end_of_line = crlf | |
# this VS-specific stuff is based on experiments to see how VS will modify a file after it has been manually edited. | |
# the settings are meant to closely match what VS does to minimize unnecessary diffs. this duplicates some settings in * | |
# but let's be explicit here to be safe (in case someone wants to copy-paste this out to another .editorconfig). | |
[*.{vcxproj,vcxproj.filters,csproj,props,targets}] | |
indent_style = space | |
indent_size = 2 | |
end_of_line = crlf | |
charset = utf-8-bom | |
trim_trailing_whitespace = true | |
insert_final_newline = false | |
[*.{sln,sln.template}] | |
indent_style = tab | |
indent_size = 4 | |
end_of_line = crlf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment