Skip to content

Commit

Permalink
Enable code analyzers (microsoft#2683)
Browse files Browse the repository at this point in the history
  • Loading branch information
MihaZupan authored Dec 19, 2024
1 parent 837292c commit d4f1a5c
Show file tree
Hide file tree
Showing 70 changed files with 4,124 additions and 265 deletions.
8 changes: 8 additions & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" />

<ItemGroup Condition="'$(IsTestProject)' != 'true' and '$(IsSampleProject)' != 'true'">
<EditorConfigFiles Include="$(MSBuildThisFileDirectory)eng\CodeAnalysis.src.globalconfig" />
</ItemGroup>

<ItemGroup Condition="'$(IsTestProject)' == 'true' or '$(IsSampleProject)' == 'true'">
<EditorConfigFiles Include="$(MSBuildThisFileDirectory)eng\CodeAnalysis.test.globalconfig" />
</ItemGroup>
</Project>
Loading

0 comments on commit d4f1a5c

Please sign in to comment.