-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.editorconfig
More file actions
34 lines (29 loc) · 933 Bytes
/
.editorconfig
File metadata and controls
34 lines (29 loc) · 933 Bytes
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
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
root = true
# All files
[*]
indent_style = space
indent_size = 4
# Xml files
[*.{xml,csproj}]
indent_style = space
indent_size = 2
# YML and YAML files
[*.{yml,yaml}]
indent_style = space
indent_size = 2
[*.props]
indent_size = 2
[*.json]
indent_size = 2
[*.cs]
dotnet_diagnostic.CA1062.severity = none # nullable referece types is enabled.
dotnet_diagnostic.CA1303.severity = none # strings are not localised, only at UI level
dotnet_diagnostic.CA1724.severity = none # Conflicting names are allowed in different namespaces
csharp_style_namespace_declarations=file_scoped:suggestion
csharp_style_var_elsewhere=true:suggestion
csharp_style_var_when_type_is_apparent=true:suggestion
csharp_style_var_for_built_in_types=true:suggestion
dotnet_diagnostic.CSE007.severity=silent
dotnet_diagnostic.CSE005.severity=silent
dotnet_diagnostic.CSE006.severity=silent