Skip to content

Commit 5edbbe1

Browse files
committed
chore: update license details and enforce code style settings
1 parent 41ea119 commit 5edbbe1

7 files changed

Lines changed: 3 additions & 7 deletions

Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<?xml version="1.0" encoding="utf-8"?>
21
<Project>
32
<PropertyGroup>
43
<RepositoryType>git</RepositoryType>

Directory.Packages.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<?xml version="1.0" encoding="utf-8"?>
21
<Project>
32
<ItemGroup>
43
<PackageVersion Include="Escendit.Tools.Branding" Version="1.2.0"/>

nuget.config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<?xml version="1.0" encoding="utf-8"?>
21
<configuration>
32
<packageSources>
43
<clear />

src/Escendit.Tools.CodeAnalysis.NetAnalyzers/Escendit.Tools.CodeAnalysis.NetAnalyzers.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<?xml version="1.0" encoding="utf-8"?>
21
<Project Sdk="Microsoft.NET.Sdk">
32
<PropertyGroup>
43
<DevelopmentDependency>true</DevelopmentDependency>

src/Escendit.Tools.CodeAnalysis.NetAnalyzers/Escendit.Tools.CodeAnalysis.NetAnalyzers.globalconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ global_level = -1
44
csharp_style_namespace_declarations = file_scoped:error
55
csharp_using_directive_placement = inside_namespace:error
66

7-
file_header_template = Copyright (c) Escendit Ltd. All Rights Reserved.\nLicensed under the MIT. See LICENSE.txt file in the solution root for full license information.
7+
file_header_template = Licensed to the Escendit GmbH under one or more agreements.\nThe Escendit GmbH licenses this file to you under the Apache License 2.0.
88

99
dotnet_diagnostic.IDE0065.severity = error
1010
dotnet_diagnostic.IDE0073.severity = error
11+
dotnet_diagnostic.IDE0160.severity = none
1112
dotnet_diagnostic.IDE0161.severity = error
1213

1314
dotnet_diagnostic.CA1000.severity = warning

src/Escendit.Tools.CodeAnalysis.NetAnalyzers/Escendit.Tools.CodeAnalysis.NetAnalyzers.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<?xml version="1.0" encoding="utf-8"?>
21
<Project>
32
<PropertyGroup>
43
<EnableNETAnalyzers>true</EnableNETAnalyzers>
4+
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
55
<GenerateDocumentationFile>True</GenerateDocumentationFile>
66
<CodeAnalysisRuleSetLocation>$(NuGetPackageRoot)</CodeAnalysisRuleSetLocation>
77
</PropertyGroup>

src/Escendit.Tools.CodeAnalysis.NetAnalyzers/Escendit.Tools.CodeAnalysis.NetAnalyzers.targets

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<?xml version="1.0" encoding="utf-8"?>
21
<Project>
32
<ItemGroup>
43
<EditorConfigFiles Include="$([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)\..\Escendit.Tools.CodeAnalysis.NetAnalyzers.globalconfig'))">

0 commit comments

Comments
 (0)