Skip to content

Commit 599a8a5

Browse files
authored
Merge branch 'main' into update-cla
2 parents d399c6e + 2f7205f commit 599a8a5

File tree

4 files changed

+61
-29
lines changed

4 files changed

+61
-29
lines changed

.editorconfig

Lines changed: 61 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,71 @@
1+
# Remove the line below if you want to inherit .editorconfig settings from higher directories
2+
root = true
3+
14
[*]
25
end_of_line = crlf
36

7+
[*.md]
8+
trim_trailing_whitespace = false
9+
410
[*.xml]
511
indent_style = space
612

13+
[*.yml]
14+
indent_style = space
15+
tab_width = 2
16+
trim_trailing_whitespace = true
17+
18+
[*.json]
19+
tab_width = 4
20+
indent_size = 4
21+
indent_style = space
22+
insert_final_newline = true
23+
24+
[*.csproj]
25+
tab_width = 2
26+
indent_size = 2
27+
28+
[*.props]
29+
tab_width = 2
30+
indent_size = 2
31+
732
[*.cs]
8-
dotnet_sort_system_directives_first = true
933
indent_style = space
1034
indent_size = 4
11-
insert_final_newline = false
35+
insert_final_newline = true
1236
trim_trailing_whitespace = true
13-
charset = utf-8-bom
37+
dotnet_sort_system_directives_first = true
38+
charset = utf-8-bom
39+
csharp_using_directive_placement = outside_namespace:suggestion
40+
41+
#### C# Code Analyzers ####
42+
43+
# CS0612: Type or member is obsolete
44+
dotnet_diagnostic.CS0612.severity = silent
45+
46+
# CS0618: Type or member is obsolete
47+
dotnet_diagnostic.CS0618.severity = silent
48+
49+
# CS8600: Converting null literal or possible null value to non-nullable type.
50+
dotnet_diagnostic.CS8600.severity = silent
51+
52+
# CS8601: Possible null reference assignment.
53+
dotnet_diagnostic.CS8601.severity = silent
54+
55+
# CS8602: Dereference of a possibly null reference.
56+
dotnet_diagnostic.CS8602.severity = silent
57+
58+
# CS8603: Possible null reference return.
59+
dotnet_diagnostic.CS8603.severity = silent
60+
61+
# CS8604: Possible null reference argument.
62+
dotnet_diagnostic.CS8604.severity = silent
63+
64+
# CS8618: Non-nullable field must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring as nullable.
65+
dotnet_diagnostic.CS8618.severity = silent
66+
67+
# CS8625: Cannot convert null literal to non-nullable reference type.
68+
dotnet_diagnostic.CS8625.severity = silent
69+
70+
# CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
71+
dotnet_diagnostic.CS8632.severity = silent

src/MigrationTools.Clients.FileSystem.Tests/MigrationTools.Clients.FileSystem.Tests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
<ItemGroup>
2323
<ProjectReference Include="..\MigrationTools.Clients.FileSystem\MigrationTools.Clients.FileSystem.csproj" />
2424
<ProjectReference Include="..\MigrationTools.Shadows\MigrationTools.Shadows.csproj" />
25-
<ProjectReference Include="..\MigrationTools.TestExtensions\MigrationTools.TestExtensions.csproj" />
2625
</ItemGroup>
2726

2827
<ItemGroup>

src/MigrationTools.TestExtensions/MigrationTools.TestExtensions.csproj

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/MigrationTools.Tests/MigrationTools.Tests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
<ItemGroup>
2222
<ProjectReference Include="..\MigrationTools.Clients.FileSystem\MigrationTools.Clients.FileSystem.csproj" />
2323
<ProjectReference Include="..\MigrationTools.Shadows\MigrationTools.Shadows.csproj" />
24-
<ProjectReference Include="..\MigrationTools.TestExtensions\MigrationTools.TestExtensions.csproj" />
2524
<ProjectReference Include="..\MigrationTools\MigrationTools.csproj" />
2625
</ItemGroup>
2726

0 commit comments

Comments
 (0)