Skip to content

Commit

Permalink
Enforce style rules on build
Browse files Browse the repository at this point in the history
  • Loading branch information
LumpBloom7 committed Apr 2, 2021
1 parent a219aaa commit 6047b95
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<PropertyGroup Label="C#">
<LangVersion>8.0</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
</PropertyGroup>
<ItemGroup Label="Code Analysis">
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="5.0.3" PrivateAssets="All" />
</ItemGroup>
</Project>

0 comments on commit 6047b95

Please sign in to comment.