File tree Expand file tree Collapse file tree 5 files changed +13
-6
lines changed Expand file tree Collapse file tree 5 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ insert_final_newline = false
27
27
28
28
29
29
[* .json ]
30
- charset = utf-8-bom
30
+ charset = utf-8
31
31
indent_size = 2
32
32
33
33
34
34
[* .md ]
35
- charset = utf-8-bom
35
+ charset = utf-8
36
36
indent_size = 2
37
37
38
38
Original file line number Diff line number Diff line change @@ -113,6 +113,8 @@ package-lock.json text -diff
113
113
114
114
* .exe binary
115
115
* .dll binary
116
+ * .pdb binary
117
+ * .so binary
116
118
* .pyc binary
117
119
118
120
* .bmp binary
Original file line number Diff line number Diff line change @@ -237,6 +237,9 @@ dotnet_analyzer_diagnostic.category-Style.severity = default
237
237
dotnet_code_quality.api_surface = all
238
238
239
239
# Tune severity
240
+ # C# warnings that should really be errors
241
+ dotnet_diagnostic.CS8509.severity = error
242
+
240
243
# Dispose rules (CA2000 and CA2213) ported to IDE analyzers. We already execute the CA rules, so disable the IDE ones.
241
244
dotnet_diagnostic.IDE0067.severity = none
242
245
dotnet_diagnostic.IDE0068.severity = none
@@ -245,11 +248,13 @@ dotnet_diagnostic.IDE0069.severity = none
245
248
# Correctness IDE rules
246
249
dotnet_diagnostic.IDE0010.severity = suggestion
247
250
dotnet_diagnostic.IDE0072.severity = suggestion
251
+ dotnet_diagnostic.IDE0251.severity = error
248
252
249
253
# Style IDE rules
250
254
dotnet_diagnostic.IDE0005.severity = warning
251
255
dotnet_diagnostic.IDE0018.severity = suggestion
252
256
dotnet_diagnostic.IDE0035.severity = warning
257
+ dotnet_diagnostic.IDE0037.severity = none # Following this rule can break a lot of code when renaming
253
258
dotnet_diagnostic.IDE0051.severity = warning
254
259
dotnet_diagnostic.IDE0052.severity = warning
255
260
dotnet_diagnostic.IDE0055.severity = warning
Original file line number Diff line number Diff line change 58
58
</ItemGroup >
59
59
60
60
<ItemGroup Label =" MinimalAnalyzerReferences" >
61
- <PackageReference Include =" StyleCop.Analyzers" Version =" 1.2.0-beta.435 " PrivateAssets =" All" />
61
+ <PackageReference Include =" StyleCop.Analyzers" Version =" 1.2.0-beta.507 " PrivateAssets =" All" />
62
62
<PackageReference Include =" Microsoft.CodeAnalysis.BannedApiAnalyzers" Version =" 3.3.4" PrivateAssets =" All" />
63
63
</ItemGroup >
64
64
</Project >
Original file line number Diff line number Diff line change 10
10
<AutoGenerateBindingRedirects >true</AutoGenerateBindingRedirects >
11
11
<GenerateBindingRedirectsOutputType >true</GenerateBindingRedirectsOutputType >
12
12
<IsPackable >false</IsPackable >
13
- <NoWarn >$(NoWarn);IDE0060;SA1131;SA1133;SA1201;SA1202;CA1034;CA1062;CA1801;CA1815;CA1822;CA1825;CA2007;CA2016;CA5394;CS0618</NoWarn >
13
+ <NoWarn >$(NoWarn);IDE0060;SA1131;SA1133;SA1201;SA1202;CA1002; CA1034;CA1062;CA1308; CA1801;CA1815;CA1822;CA1825;CA2007;CA2016;CA5394;CS0618;RS0030 </NoWarn >
14
14
<DefineConstants >$(DefineConstants);NULLABLE_ATTRIBUTES_DISABLE</DefineConstants >
15
15
</PropertyGroup >
16
16
17
17
<ItemGroup Label =" MinimalTestPackageReferences" >
18
- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.5 .0" />
19
- <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.5 " />
18
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.8 .0" />
19
+ <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.5.4 " />
20
20
</ItemGroup >
21
21
22
22
<ItemGroup Label =" MinimalTestConfigFiles" >
You can’t perform that action at this time.
0 commit comments