-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
55 lines (43 loc) · 1.85 KB
/
.editorconfig
File metadata and controls
55 lines (43 loc) · 1.85 KB
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
51
52
53
54
55
# Documentation:
# https://editorconfig.org
# https://aka.ms/editorconfigdocs
#
# Copyright Subatomix Research Inc.
# SPDX-License-Identifier: MIT
root = true
[*]
charset = utf-8
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.sln]
charset = utf-8-bom
indent_style = tab
[.root.targets]
charset = utf-8-bom
[*.*proj]
charset = utf-8-bom
[*.{config,json,jsonc,md,*proj,props,runsettings,slnLaunch,targets,*xml,yaml,yml}]
indent_size = 2
[*.slnLaunch]
insert_final_newline = false
[dotnet-tools.json]
insert_final_newline = false
[*.cs]
# C# Diagnostics
dotnet_diagnostic.CA1859.severity = none # CA1859: Use concrete types when possible for improved performance
# C# Style Conventions
# Below are deviations from the default documented here:
# https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/code-style-rule-options
csharp_indent_case_contents_when_block = false # was true
csharp_prefer_braces = when_multiline # was true
csharp_space_after_cast = true # was false
csharp_style_namespace_declarations = file_scoped:suggestion # was block_scoped
csharp_style_prefer_primary_constructors = false # was true
csharp_style_var_elsewhere = true # was false
csharp_style_var_for_built_in_types = true # was false
csharp_style_var_when_type_is_apparent = true # was false
dotnet_sort_system_directives_first = true # was false
dotnet_style_allow_multiple_blank_lines_experimental = false:warning # was true
dotnet_style_namespace_match_folder = true:none # was true