Add initial StyleCops style enforcement

This commit is contained in:
Still Hsu
2020-11-26 15:12:56 +08:00
parent 8f8078e969
commit e0f8737c35
8 changed files with 35 additions and 3 deletions

9
StyleAnalyzer.targets Normal file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.205" PrivateAssets="all" />
</ItemGroup>
<PropertyGroup>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>
</Project>