-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
33 lines (25 loc) · 1.13 KB
/
.editorconfig
File metadata and controls
33 lines (25 loc) · 1.13 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
# .editorconfig for Trade Control - allow underscores in model class names
root = true
[*]
charset = utf-8
end_of_line = crlf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
# Default C# naming rules (PascalCase for types)
[*.cs]
dotnet_sort_system_directives_first = true
# Allman-style braces for C#
csharp_new_line_before_open_brace = types, methods, properties, indexers, events, anonymous_methods, control_blocks, lambda, accessors
csharp_prefer_braces = true:suggestion
dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.types_should_be_pascal_case.symbols = all_types
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case_style
dotnet_naming_symbols.all_types.applicable_kinds = class, struct, interface, enum, delegate
dotnet_naming_symbols.all_types.applicable_accessibilities = *
dotnet_naming_symbols.all_types.required_modifiers = *
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
# Allow underscores in class names in Models folder
[TCWeb/Models/*.cs]
dotnet_naming_rule.allow_underscore_in_models.severity = none