-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.editorconfig
43 lines (34 loc) · 895 Bytes
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# EditorConfig is awesome: https://EditorConfig.org
# .NET coding convention settings for EditorConfig
# https://docs.microsoft.com/visualstudio/ide/editorconfig-code-style-settings-reference
#
# This file comes from dotnet repositories:
# https://github.com/dotnet/runtime/blob/master/.editorconfig
# https://github.com/dotnet/roslyn/blob/master/.editorconfig
# Top-most EditorConfig file
root = true
[*]
charset = utf-8-bom
# indent_size intentionally not specified in this section
indent_style = space
# Source code
[*.{cs,ps1,psd1,psm1}]
indent_size = 4
# Shell scripts
[*.sh]
indent_size = 4
# Xml project files
[*.{csproj,resx,ps1xml}]
indent_size = 2
# Data serialization
[*.{json,yaml,yml}]
indent_size = 2
# Markdown
[*.md]
indent_size = 2
# Xml files
[*.{resx,ruleset,stylecop,xml,xsd,xsl}]
indent_size = 2
# Xml config files
[*.{props,targets,config,nuspec}]
indent_size = 2