-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add .editorconfig for generating API files
- Loading branch information
1 parent
0330b07
commit c9900de
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# see http://editorconfig.org/ for docs on this file | ||
|
||
[*] | ||
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 temporarily disabled due to bug in VS2017 changing to UTF-8 with BOM (https://favro.com/card/c564ede4ed3337f7b17986b6/Uni-17877) | ||
#charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
# 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}] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = crlf | ||
charset = utf-8-bom | ||
trim_trailing_whitespace = true | ||
insert_final_newline = false | ||
# must be broken out because of 51-char bug (https://github.com/editorconfig/editorconfig-visualstudio/issues/21) | ||
[*.{csproj,pyproj,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 | ||
|
||
[*.asmdef] | ||
scrape_api = true |