-
Notifications
You must be signed in to change notification settings - Fork 3
/
.editorconfig
61 lines (47 loc) · 2.11 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
51
52
53
54
55
56
57
58
59
60
61
# Remove the line below if you want to inherit .editorconfig settings from higher directories
root = true
# Files
[*.{cs,md,yml,txt,js,json}]
#### Core EditorConfig Options ####
# Indentation and spacing
indent_size = 4
indent_style = space
tab_width = 4
# New line preferences
end_of_line = lf
insert_final_newline = true
[*.cs]
# Analyzers
dotnet_diagnostic.RS2000.severity = none
dotnet_diagnostic.RS2008.severity = none
# Substring
dotnet_diagnostic.IDE0057.severity = none
# var
dotnet_diagnostic.IDE0007.severity = error
dotnet_diagnostic.IDE0008.severity = error
csharp_style_var_when_type_is_apparent = true
csharp_style_var_elsewhere = false
# async/await
dotnet_diagnostic.CA2007.severity = error
dotnet_diagnostic.CS4014.severity = none
# Naming
dotnet_naming_symbols.const_fields.applicable_kinds = field
dotnet_naming_symbols.const_fields.applicable_accessibilities = *
dotnet_naming_symbols.const_fields.required_modifiers = const
dotnet_naming_style.uppercase_snake.required_prefix =
dotnet_naming_style.uppercase_snake.required_suffix =
dotnet_naming_style.uppercase_snake.word_separator = _
dotnet_naming_style.uppercase_snake.capitalization = all_upper
dotnet_naming_rule.const_fields_should_be_uppercase_snake.severity = error
dotnet_naming_rule.const_fields_should_be_uppercase_snake.symbols = const_fields
dotnet_naming_rule.const_fields_should_be_uppercase_snake.style = uppercase_snake
dotnet_naming_symbols.private_or_internal_field.applicable_kinds = field
dotnet_naming_symbols.private_or_internal_field.applicable_accessibilities = internal, private, private_protected
dotnet_naming_symbols.private_or_internal_field.required_modifiers =
dotnet_naming_style._fieldname.required_prefix = _
dotnet_naming_style._fieldname.required_suffix =
dotnet_naming_style._fieldname.word_separator =
dotnet_naming_style._fieldname.capitalization = camel_case
dotnet_naming_rule.private_or_internal_field_should_be__fieldname.severity = error
dotnet_naming_rule.private_or_internal_field_should_be__fieldname.symbols = private_or_internal_field
dotnet_naming_rule.private_or_internal_field_should_be__fieldname.style = _fieldname