diff options
| author | Rich Lander <rlander@microsoft.com> | 2021-07-30 00:49:28 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-30 09:49:28 +0200 |
| commit | c07e83fdf87e61f30e4cca4e458113ac315918ae (patch) | |
| tree | c5e94c360fc683b4c13fbed2f4fab197921db17b /Directory.Build.props | |
| parent | 92c2d206093d2243223a4c37e86f3f1f56b5626e (diff) | |
Invert code and style analysis configuration (#6334)
Co-authored-by: Bond-009 <bond.009@outlook.com>
Diffstat (limited to 'Directory.Build.props')
| -rw-r--r-- | Directory.Build.props | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 000000000..b899999ef --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,14 @@ +<Project> + <!-- Sets defaults for all projects in the repo --> + + <PropertyGroup> + <Nullable>enable</Nullable> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)/jellyfin.ruleset</CodeAnalysisRuleSet> + </PropertyGroup> + + <PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> + <AnalysisMode>AllEnabledByDefault</AnalysisMode> + </PropertyGroup> + +</Project> |
