Skip to content

Commit

Permalink
chore: add NU1901, NU1902, NU1903 and NU1904 to single lines
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmairegger committed Nov 18, 2024
1 parent 4c77bee commit 09526a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
<!-- Multiple package source defined in config file -->

<!-- A package restored for your project has a known vulnerability. -->
<WarningsAsErrors>$(WarningsAsErrors);<!--low-->NU1901;<!--moderate-->NU1902;<!--high-->NU1903;<!--citical-->NU1904</WarningsAsErrors>
<WarningsAsErrors Label="Package X has a known low severity vulnerability">$(WarningsAsErrors);NU1901</WarningsAsErrors>
<WarningsAsErrors Label="Package X has a known moderate severity vulnerability">$(WarningsAsErrors);NU1902</WarningsAsErrors>
<WarningsAsErrors Label="Package X has a known high severity vulnerability">$(WarningsAsErrors);NU1903</WarningsAsErrors>
<WarningsAsErrors Label="Package X has a known critical severity vulnerability">$(WarningsAsErrors);NU1904</WarningsAsErrors>
</PropertyGroup>

<PropertyGroup Label="Source commit tagging" Condition="'$(Configuration)' != 'Release'">
Expand Down

0 comments on commit 09526a8

Please sign in to comment.