forked from OpenTabletDriver/OpenTabletDriver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
51 lines (46 loc) · 1.69 KB
/
Copy path.editorconfig
File metadata and controls
51 lines (46 loc) · 1.69 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
root = true
[*]
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
charset = utf-8
[*.cs]
indent_size = 4
csharp_new_line_before_open_brace = all
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_indent_case_contents = true
csharp_indent_case_contents_when_block = false
csharp_indent_switch_labels = true
csharp_indent_block_contents = true
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_between_method_declaration_name_and_open_parenthesis = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_after_comma = true
csharp_space_after_dot = false
csharp_space_before_dot = false
csharp_space_after_semicolon_in_for_statement = true
csharp_space_before_semicolon_in_for_statement = false
csharp_space_around_declaration_statements = false
dotnet_sort_system_directives_first = true
# Disposable types
dotnet_diagnostic.CA1063.severity = warning
dotnet_diagnostic.CA1816.severity = warning
dotnet_diagnostic.CA2213.severity = warning
dotnet_diagnostic.CA2216.severity = warning
# Method can be marked as static
dotnet_diagnostic.CA1822.severity = warning
# use compile-time regex
dotnet_diagnostic.SYSLIB1045.severity = warning
# use concrete types when possible for improved performance
dotnet_diagnostic.CA1859.severity = warning
# disallow unnecessary using directives
dotnet_diagnostic.IDE0005.severity = warning
# IDE-only inspections (Rider, etc.)
resharper_can_simplify_dictionary_lookup_with_try_get_value_highlighting=warning
[*.{sh,md,csproj,json,yml}]
indent_size = 2
[**/debian/rules]
indent_style = tab