-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.editorconfig
35 lines (26 loc) · 1.16 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
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
[*]
indent_style = space
[*.csproj]
indent_size = 2
[*.cs]
indent_size = 4
insert_final_newline = true
charset = utf-8-bom
guidelines = 120
csharp_style_inlined_variable_declaration = true:silent
dotnet_style_readonly_field = true:silent
csharp_style_throw_expression = true:silent
dotnet_style_require_accessibility_modifiers = for_non_interface_members:warning
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion
# Require ConfigureAwait on Tasks
dotnet_diagnostic.CA2007.severity = error
dotnet_code_quality.CA2007.output_kind = DynamicallyLinkedLibrary
# CancellationToken parameters must come last
dotnet_diagnostic.CA1068.severity = error
# Forward CancellationToken
dotnet_diagnostic.CA2016.severity = error
dotnet_diagnostic.IDE0073.severity = warning
file_header_template = Copyright (c) PdfToSvg.NET contributors.\nhttps://github.com/dmester/pdftosvg.net\nLicensed under the MIT License.
# Memory-based overloads not available in .NET Framework
dotnet_diagnostic.CA1835.severity=silent