37 строки
843 B
INI
37 строки
843 B
INI
# EditorConfig is awesome:
|
|
http://EditorConfig.org
|
|
|
|
# top-most EditorConfig file
|
|
root = true
|
|
|
|
# Don't use tabs for indentation.
|
|
[*]
|
|
indent_style = space
|
|
# (Please don't specify an indent_size here; that has too many unintended consequences.)
|
|
|
|
[*.{sh}]
|
|
end_of_line = lf
|
|
indent_size = 2
|
|
|
|
[*.{ps1}]
|
|
indent_size = 2
|
|
|
|
# Code files
|
|
[*.cs,*.csx,*.vb,*.vbx]
|
|
indent_size = 4
|
|
|
|
# Xml project files
|
|
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
|
|
indent_size = 2
|
|
|
|
# Xml config files
|
|
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
|
|
indent_size = 2
|
|
|
|
# JSON files
|
|
[*.json]
|
|
indent_size = 2
|
|
|
|
[*.{cs}]
|
|
file_header_template = Licensed to the.NET Foundation under one or more agreements.\nThe.NET Foundation licenses this file to you under the MIT license.\nSee the License.txt file in the project root for more information.
|