-
Notifications
You must be signed in to change notification settings - Fork 203
/
.editorconfig
44 lines (32 loc) · 1.39 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
# EditorConfig is awesome: http://EditorConfig.org
# Create portable, custom editor settings with EditorConfig
# https://docs.microsoft.com/en-us/visualstudio/ide/create-portable-custom-editor-options
# .NET coding convention settings for EditorConfig
# https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference
# Language conventions
# https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-language-conventions
# Formatting conventions
# https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-formatting-conventions
# .NET naming conventions for EditorConfig
# https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-naming-conventions
# Top-most EditorConfig file
root = true
# Editor default newlines with a newline ending every file
[*]
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
[*.cs]
indent_size = 4
# Code files
[*.{cs,vb}]
csharp_prefer_simple_using_statement = true:warning
csharp_style_prefer_switch_expression = true:warning
dotnet_style_qualification_for_field = true:warning
dotnet_style_qualification_for_property = true:warning
dotnet_style_qualification_for_method = true:warning
dotnet_style_qualification_for_event = true:warning
csharp_style_namespace_declarations = block_scoped:warning
csharp_style_expression_bodied_properties = when_on_single_line:warning