forked from at0dd/tesla-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
74 lines (52 loc) · 2.12 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
root = true
# All files
[*]
indent_style = space
# XML project files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
indent_size = 2
# XML config files
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
indent_size = 2
# Code files
[*.{cs,csx,vb,vbx}]
indent_size = 4
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8
[*.cs]
# CS8618: Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
dotnet_diagnostic.CS8618.severity = none
# IDE0005: Using directive is unnecessary.
dotnet_diagnostic.IDE0005.severity = error
# IDE0008: Use explicit type
dotnet_diagnostic.IDE0008.severity = warning
# IDE0090: Use 'new(...)'
dotnet_diagnostic.IDE0090.severity = none
# SA0001: XML comment analysis is disabled due to project configuration
dotnet_diagnostic.SA0001.severity = none
# SA1633: File should have header
dotnet_diagnostic.SA1633.severity = none
# CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
dotnet_diagnostic.CS8632.severity = none
# SA1101: Prefix local calls with this
dotnet_diagnostic.SA1101.severity = none
# SA1200: Using directives should be placed correctly
dotnet_diagnostic.SA1200.severity = error
# SA1309: Field names should not begin with underscore
dotnet_diagnostic.SA1309.severity = none
# SA1401: Fields should be private
dotnet_diagnostic.SA1401.severity = none
# SA1402: File may only contain a single type
dotnet_diagnostic.SA1402.severity = none
# SA1518: Use line endings correctly at end of file
dotnet_diagnostic.SA1518.severity = error
# SA1625: Element documentation should not be copied and pasted
dotnet_diagnostic.SA1625.severity = none
# SA1600: Elements should be documented
dotnet_diagnostic.SA1600.severity = none #this is duplicated by CS1591
# SA1629: Documentation text should end with a period
dotnet_diagnostic.SA1629.severity = error
# SA1649: File name should match first type name
dotnet_diagnostic.SA1649.severity = none