2016-06-13 18:22:18 +03:00
|
|
|
# EditorConfig is awesome: http://EditorConfig.org
|
|
|
|
|
|
|
|
# top-most EditorConfig file
|
|
|
|
root = true
|
|
|
|
|
|
|
|
# Default settings:
|
|
|
|
# A newline ending every file
|
|
|
|
# Use 2 spaces as indentation
|
|
|
|
# Trim trailing whitespace
|
|
|
|
[*]
|
|
|
|
indent_style = space
|
|
|
|
insert_final_newline = true
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
charset = utf-8
|
|
|
|
end_of_line = lf
|
|
|
|
|
2019-09-28 00:53:08 +03:00
|
|
|
[*.{js, yml}]
|
2016-06-13 18:22:18 +03:00
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[*.cs]
|
|
|
|
indent_size = 4
|
|
|
|
end_of_line = crlf
|
|
|
|
|
|
|
|
# Xml project files
|
2021-12-04 10:19:47 +03:00
|
|
|
[*.{config,csproj,njsproj,props,targets,vcxitems,vcxproj,vcxproj.filters}]
|
2016-06-13 18:22:18 +03:00
|
|
|
indent_size = 2
|
|
|
|
end_of_line = crlf
|
2021-12-04 10:19:47 +03:00
|
|
|
insert_final_newline = false
|
2016-06-13 18:22:18 +03:00
|
|
|
|
|
|
|
# Xml files
|
|
|
|
[*.{xml,stylecop,resx,ruleset}]
|
|
|
|
indent_size = 2
|
|
|
|
end_of_line = crlf
|
|
|
|
|
|
|
|
# XML config files
|
|
|
|
[*.{msbuild,props,targets,ruleset,config,nuspec}]
|
|
|
|
indent_size = 2
|
|
|
|
end_of_line = crlf
|
|
|
|
|
|
|
|
# Shell scripts
|
2019-09-28 00:53:08 +03:00
|
|
|
[*.{cmd,bat,ps1}]
|
2016-06-13 18:22:18 +03:00
|
|
|
end_of_line = crlf
|
2023-10-03 05:21:49 +03:00
|
|
|
|
|
|
|
[overrides.json]
|
|
|
|
insert_final_newline = false
|
|
|
|
|
|
|
|
[package.json]
|
|
|
|
insert_final_newline = false
|