Skip to content

Commit 9b569bf

Browse files
committed
sample editorconfig
1 parent a346c5e commit 9b569bf

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

sample/.editorconfig

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
root = true
2+
3+
[*]
4+
indent_style = tab
5+
indent_size = tab
6+
tab_size = 4
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.cs]
12+
tab_size = 4
13+
dotnet_sort_system_directives_first = true
14+
15+
[*.{xml,config,*proj,nuspec,props,resx,targets,yml,tasks}]
16+
tab_size = 2
17+
18+
[*.{htm,html,css,scss}]
19+
tab_size = 2
20+
21+
[*.json]
22+
tab_size = 2
23+
24+
[*.{ps1,psm1}]
25+
tab_size = 4
26+
27+
[*.sh]
28+
tab_size = 4
29+
end_of_line = lf
30+
31+
[*.{yml,yaml}]
32+
indent_style = space
33+
tab_size = 2
34+
35+
[*.{cs,razor}]
36+
dotnet_diagnostic.BL0001.severity = none
37+
dotnet_diagnostic.BL0002.severity = none
38+
dotnet_diagnostic.BL0003.severity = none
39+
dotnet_diagnostic.BL0004.severity = none
40+
dotnet_diagnostic.BL0005.severity = none
41+
dotnet_diagnostic.BL0006.severity = none

0 commit comments

Comments
 (0)