Make warnings errors for static analysis.

This commit is contained in:
Michael Niksa 2019-08-29 10:27:29 -07:00
parent 5e38bcd754
commit 1989eb9d00

View file

@ -1,11 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<RuleSet Name="Console Rules" Description="These rules enforce static analysis on console code." ToolsVersion="15.0">
<Include Path="cppcorecheckrules.ruleset" Action="Default" />
<Rules AnalyzerId="Microsoft.Analyzers.NativeCodeAnalysis" RuleNamespace="Microsoft.Rules.Native">
<Rule Id="C6001" Action="Error" />
<Rule Id="C6011" Action="Error" />
</Rules>
<Include Path="cppcorecheckrules.ruleset" Action="Error" />
</RuleSet>