Adding .editorconfig for Visual Studio 2017 (and above)

https://docs.microsoft.com/en-us/visualstudio/ide/create-portable-custom-editor-options
This commit is contained in:
Lombiq
2018-09-13 18:56:10 +02:00
committed by Benedek Farkas
parent 9a308335bf
commit c68bb8bf77
2 changed files with 13 additions and 0 deletions

11
src/.editorconfig Normal file
View File

@@ -0,0 +1,11 @@
root = true
[*]
end_of_line = crlf
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
[*.cs]
csharp_new_line_before_open_brace = none
dotnet_sort_system_directives_first = true

View File

@@ -262,6 +262,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Orchard.Dashboards", "Orcha
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{DF3909B0-1DDD-4D8A-9919-56FC438E25E2}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
Rebracer.xml = Rebracer.xml
WebEssentials-Settings.json = WebEssentials-Settings.json
EndProjectSection
@@ -1192,5 +1193,6 @@ Global
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EnterpriseLibraryConfigurationToolBinariesPath = packages\TransientFaultHandling.Core.5.1.1209.1\lib\NET4
SolutionGuid = {3585D970-275B-4363-9F61-CD37CFC9DCD3}
EndGlobalSection
EndGlobal