2020-05-16 19:34:03 +01:00
|
|
|
root = true
|
|
|
|
|
2020-05-02 12:04:26 +01:00
|
|
|
[*]
|
2020-05-16 19:34:03 +01:00
|
|
|
end_of_line = lf
|
2020-05-02 12:04:26 +01:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
2020-05-16 19:34:03 +01:00
|
|
|
insert_final_newline = true
|
|
|
|
charset = utf-8
|
2020-05-02 12:04:26 +01:00
|
|
|
|
|
|
|
[*.{cs,vb}]
|
2020-05-05 14:30:00 +01:00
|
|
|
dotnet_diagnostic.CA1303.severity = none
|
|
|
|
dotnet_diagnostic.CA1056.severity = none
|
2020-05-07 17:03:20 +01:00
|
|
|
dotnet_diagnostic.CA1034.severity = none
|
|
|
|
dotnet_diagnostic.CA1054.severity = none
|
2020-05-08 09:25:33 +01:00
|
|
|
dotnet_diagnostic.CA2227.severity = none
|
2020-05-20 19:59:11 +01:00
|
|
|
dotnet_diagnostic.CA1308.severity = none
|
2020-12-26 17:28:44 +00:00
|
|
|
dotnet_diagnostic.CA1002.severity = none
|
|
|
|
# TODO: Enable for next major version, EventArgs breaking change:
|
|
|
|
dotnet_diagnostic.CA1003.severity = none
|
2021-09-28 21:30:52 +01:00
|
|
|
|
|
|
|
dotnet_diagnostic.IDE0130.severity = none
|
|
|
|
|
2020-12-26 17:28:44 +00:00
|
|
|
#
|
2020-05-02 12:04:26 +01:00
|
|
|
# Sort using and Import directives with System.* appearing first
|
|
|
|
dotnet_sort_system_directives_first = true
|
|
|
|
dotnet_style_require_accessibility_modifiers = always:warning
|
|
|
|
|
|
|
|
# Avoid "this." and "Me." if not necessary
|
|
|
|
dotnet_style_qualification_for_field = false:warning
|
|
|
|
dotnet_style_qualification_for_property = false:warning
|
|
|
|
dotnet_style_qualification_for_method = false:warning
|
|
|
|
dotnet_style_qualification_for_event = false:warning
|
|
|
|
|
|
|
|
# Code-block preferences
|
|
|
|
csharp_prefer_braces = true:warning
|
|
|
|
csharp_prefer_simple_using_statement = true:warning
|
2020-05-05 14:30:00 +01:00
|
|
|
|
|
|
|
# Custom disabled
|