forked from aptos-labs/aptos-dotnet-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
27 lines (19 loc) · 912 Bytes
/
.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
root = true
#### All C# files ####
[*.cs]
#### Naming Conventions ####
# Use camelCase with '_' prefix for private fields
dotnet_naming_style.underscore_prefix_style.capitalization = camel_case
dotnet_naming_style.underscore_prefix_style.required_prefix = _
#### C# Coding Conventions ####
# Expression-bodied members
csharp_style_expression_bodied_methods = when_possible:warning
csharp_style_expression_bodied_constructors = when_possible:warning
csharp_style_expression_bodied_operators = when_possible:warning
csharp_style_expression_bodied_properties = when_possible:warning
csharp_style_expression_bodied_indexers = when_possible:warning
csharp_style_expression_bodied_accessors = when_possible:warning
# CS1591: Missing XML comment for publicly visible type or member
dotnet_diagnostic.CS1591.severity = silent
# CS1570: XML comment has badly formed XML
dotnet_diagnostic.CS1570.severity = silent