Skip to content

Commit dc34bd4

Browse files
committed
chore: update project-system
1 parent a311189 commit dc34bd4

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ insert_final_newline = false
2727

2828

2929
[*.json]
30-
charset = utf-8-bom
30+
charset = utf-8
3131
indent_size = 2
3232

3333

3434
[*.md]
35-
charset = utf-8-bom
35+
charset = utf-8
3636
indent_size = 2
3737

3838

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ package-lock.json text -diff
113113

114114
*.exe binary
115115
*.dll binary
116+
*.pdb binary
117+
*.so binary
116118
*.pyc binary
117119

118120
*.bmp binary

.globalconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@ dotnet_analyzer_diagnostic.category-Style.severity = default
237237
dotnet_code_quality.api_surface = all
238238

239239
# Tune severity
240+
# C# warnings that should really be errors
241+
dotnet_diagnostic.CS8509.severity = error
242+
240243
# Dispose rules (CA2000 and CA2213) ported to IDE analyzers. We already execute the CA rules, so disable the IDE ones.
241244
dotnet_diagnostic.IDE0067.severity = none
242245
dotnet_diagnostic.IDE0068.severity = none
@@ -245,11 +248,13 @@ dotnet_diagnostic.IDE0069.severity = none
245248
# Correctness IDE rules
246249
dotnet_diagnostic.IDE0010.severity = suggestion
247250
dotnet_diagnostic.IDE0072.severity = suggestion
251+
dotnet_diagnostic.IDE0251.severity = error
248252

249253
# Style IDE rules
250254
dotnet_diagnostic.IDE0005.severity = warning
251255
dotnet_diagnostic.IDE0018.severity = suggestion
252256
dotnet_diagnostic.IDE0035.severity = warning
257+
dotnet_diagnostic.IDE0037.severity = none # Following this rule can break a lot of code when renaming
253258
dotnet_diagnostic.IDE0051.severity = warning
254259
dotnet_diagnostic.IDE0052.severity = warning
255260
dotnet_diagnostic.IDE0055.severity = warning

shared/Minimal.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</ItemGroup>
5959

6060
<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" />
6262
<PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.4" PrivateAssets="All" />
6363
</ItemGroup>
6464
</Project>

shared/MinimalTestLibrary.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1111
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
1212
<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>
1414
<DefineConstants>$(DefineConstants);NULLABLE_ATTRIBUTES_DISABLE</DefineConstants>
1515
</PropertyGroup>
1616

1717
<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" />
2020
</ItemGroup>
2121

2222
<ItemGroup Label="MinimalTestConfigFiles">

0 commit comments

Comments
 (0)