-
Notifications
You must be signed in to change notification settings - Fork 82
/
.editorconfig
40 lines (34 loc) · 1.64 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
[*]
end_of_line = crlf
[*.cs]
dotnet_sort_system_directives_first = true
dotnet_style_predefined_type_for_locals_parameters_members = true : warning
dotnet_style_predefined_type_for_member_access = true : warning
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
# Defining styles
dotnet_naming_style.pascal_case.capitalization = pascal_case
dotnet_naming_style.under_camel_case.required_prefix = _
dotnet_naming_style.under_camel_case.capitalization = camel_case
# Constants should be PascalCase
dotnet_naming_rule.const_pascal_case.symbols = all_consts
dotnet_naming_rule.const_pascal_case.style = pascal_case
dotnet_naming_rule.const_pascal_case.severity = suggestion
dotnet_naming_symbols.all_consts.required_modifiers = const
# Static fields should be PascalCase
dotnet_naming_rule.const_pascal_case.symbols = static_fields
dotnet_naming_rule.const_pascal_case.style = pascal_case
dotnet_naming_rule.const_pascal_case.severity = suggestion
dotnet_naming_symbols.static_fields.applicable_kinds = field
dotnet_naming_symbols.static_fields.required_modifiers = static
# Private fields should be _camelCase and start with a _
dotnet_naming_rule.fields_under_camel_case.symbols = all_fields
dotnet_naming_rule.fields_under_camel_case.style = under_camel_case
dotnet_naming_rule.fields_under_camel_case.severity = suggestion
dotnet_naming_symbols.all_fields.applicable_kinds = field
dotnet_naming_symbols.all_fields.applicable_accessibilities = private
dotnet_naming_style.under_camel_case.required_prefix = _
dotnet_naming_style.under_camel_case.capitalization = camel_case
[*.xml]
indent_style = space