-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.editorconfig
50 lines (38 loc) · 1.67 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
root = true
charset = utf-8
end_of_line = crlf
indent_style = space
indent_size = 4
insert_final_newline = true
[*.{xml,*proj,props,targets,yml,nuspec}]
indent_size = 2
[*.cs]
csharp_style_var_for_built_in_types=true:silent
csharp_style_var_when_type_is_apparent=true:silent
csharp_style_var_elsewhere=true:silent
# This takes the address of, gets the size of, or declares a pointer to a managed type.
# We check at runtime that generic types are not managed, and either way we can't take
# a pointer to the heap by accident without using fixed or Unsafe.AsPointer.
dotnet_diagnostic.CS8500.severity = None
##
## SonarAnalyzers.CSharp
##
# Update this method so that its implementation is not identical to 'blah'
dotnet_diagnostic.S4144.severity = None
# Update this implementation of 'ISerializable' to conform to the recommended serialization pattern
dotnet_diagnostic.S3925.severity = None
# Rename class 'IOCActivator' to match pascal case naming rules, consider using 'IocActivator'
dotnet_diagnostic.S101.severity = None
# Remove unassigned auto-property 'Blah', or set its value
dotnet_diagnostic.S3459.severity = None
# Remove the unused private set accessor in property 'Version'
dotnet_diagnostic.S1144.severity = None
# 'System.Exception' should not be thrown by user code
dotnet_diagnostic.S112.severity = None
# Native methods should be wrapped
# For some reason this warning shows even on auto-generated files.
dotnet_diagnostic.S4200.severity = None
# S3427: Method overloads with default parameter values should not overlap
# If we oblige to this rule and remove the overload without the default parameter,
# the package validator will complain.
dotnet_diagnostic.S3427.severity = none