-
Notifications
You must be signed in to change notification settings - Fork 1
/
Directory.Build.props
37 lines (34 loc) · 1.3 KB
/
Directory.Build.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors Condition="'$(Configuration)' == 'Release'">true</TreatWarningsAsErrors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Enforce strict code style -->
<AnalysisLevel>7</AnalysisLevel>
<AnalysisLevelStyle>7-all</AnalysisLevelStyle>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<Features>strict</Features>
</PropertyGroup>
<!-- Shared attribution and configuration properties -->
<PropertyGroup>
<RepositoryUrl>https://github.com/SubnauticaNitrox/Nitrox.Analyzers</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<ProjectUrl>https://github.com/SubnauticaNitrox/Nitrox.Analyzers</ProjectUrl>
<Authors>Nitrox Team</Authors>
<Owners>Nitrox Team</Owners>
<Company>Nitrox Team</Company>
<Copyright>Copyright (c) 2023 Nitrox Team</Copyright>
</PropertyGroup>
<!-- Disable enforcing of some rules:
1591: XML comments on public members
8601: Possible null reference assignment
-->
<PropertyGroup>
<NoWarn>1591;8601</NoWarn>
</PropertyGroup>
<ItemGroup>
<SourceRoot Include="$(MSBuildThisFileDirectory)/"/>
</ItemGroup>
</Project>