forked from meziantou/Meziantou.Framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
50 lines (38 loc) · 1.06 KB
/
.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
44
45
46
47
48
49
50
# Schema: http://EditorConfig.org
# Docs: https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference
# top-most EditorConfig file
root = true
# Don't use tabs for indentation.
[*]
indent_style = space
trim_trailing_whitespace = true
end_of_line = lf
# 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,xml,stylecop}]
indent_size = 2
# JSON files
[*.{json,json5}]
indent_size = 2
# YAML Files
[*.{yml,yaml}]
indent_size = 2
# Shell scripts
[*.sh]
end_of_line = lf
[*.{cmd,bat,ps1}]
end_of_line = crlf
# Web Files
[*.{htm,html,js,ts,css,scss,less}]
indent_size = 2
insert_final_newline = true
[*.cs]
dotnet_diagnostic.CA1008.severity = none
dotnet_diagnostic.CA1308.severity = none
dotnet_diagnostic.CA2237.severity = none
dotnet_diagnostic.RS2008.severity = none
dotnet_diagnostic.MFA001.severity = silent
[Samples/**/*.cs]
dotnet_diagnostic.CA1852.severity = none