Skip to content

Commit e204e16

Browse files
committed
chore: relax doc requirements for test projects
Signed-off-by: Todd Baert <[email protected]>
1 parent 992d3cf commit e204e16

File tree

12 files changed

+25
-13
lines changed

12 files changed

+25
-13
lines changed

.editorconfig

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,6 @@ dotnet_diagnostic.IDE0001.severity = warning
139139
# IDE0002: Simplify member access
140140
dotnet_diagnostic.IDE0002.severity = warning
141141

142-
# IDE0005: Remove unnecessary import
143-
dotnet_diagnostic.IDE0005.severity = error
144-
145142
# RS0041: Public members should not use oblivious types
146143
dotnet_diagnostic.RS0041.severity = suggestion
147144

@@ -151,8 +148,12 @@ dotnet_diagnostic.CA2007.severity = error
151148
# IDE0161: Convert to file-scoped namespace
152149
csharp_style_namespace_declarations = file_scoped:warning
153150

151+
[src/**.cs]
152+
# IDE0005: Remove unnecessary import
153+
dotnet_diagnostic.IDE0005.severity = error
154+
154155
[obj/**.cs]
155156
generated_code = true
156157

157158
[*.csproj]
158-
indent_size = 2
159+
indent_size = 2

build/Common.tests.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<Import Project=".\Common.props" />
33

44
<PropertyGroup>
5+
<NoWarn>$(NoWarn);1591</NoWarn>
56
<IsPackable>false</IsPackable>
67
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
78
<TargetFrameworks Condition="$(OS) == 'Windows_NT'">$(TargetFrameworks);net462</TargetFrameworks>

src/OpenFeature.Contrib.Hooks.Otel/OpenFeature.Contrib.Hooks.Otel.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@
88
<FileVersion>$(VersionNumber)</FileVersion>
99
<Description>Open Telemetry Hook for .NET</Description>
1010
<Authors>Florian Bacher</Authors>
11+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1112
</PropertyGroup>
1213

1314
<ItemGroup>
1415
<PackageReference Include="OpenTelemetry.Api" Version="1.9.0" />
1516
<PackageReference Include="OpenFeature" Version="[2.0,3.0)" />
1617
</ItemGroup>
1718

18-
</Project>
19+
</Project>

src/OpenFeature.Contrib.Providers.ConfigCat/OpenFeature.Contrib.Providers.ConfigCat.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<FileVersion>$(VersionNumber)</FileVersion>
99
<Description>ConfigCat provider for .NET</Description>
1010
<Authors>Luiz Bon</Authors>
11+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1112
</PropertyGroup>
1213
<ItemGroup>
1314
<!-- make the internal methods visble to our test project -->
@@ -19,4 +20,4 @@
1920
<PackageReference Include="ConfigCat.Client" Version="9.3.2" />
2021
<PackageReference Include="OpenFeature" Version="[2.0,3.0)" />
2122
</ItemGroup>
22-
</Project>
23+
</Project>

src/OpenFeature.Contrib.Providers.EnvVar/OpenFeature.Contrib.Providers.EnvVar.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
<FileVersion>$(VersionNumber)</FileVersion>
99
<Description>Environment Variable Provider for .NET</Description>
1010
<Authors>Octopus Deploy</Authors>
11+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1112
</PropertyGroup>
1213

1314
<ItemGroup>
1415
<PackageReference Include="OpenFeature" Version="[2.0,3.0)" />
1516
</ItemGroup>
1617

17-
</Project>
18+
</Project>

src/OpenFeature.Contrib.Providers.FeatureManagement/OpenFeature.Contrib.Providers.FeatureManagement.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@
1010
<Description>An OpenFeature Provider built on top of the standard Microsoft FeatureManagement
1111
Library</Description>
1212
<Authors>Eric Pattison</Authors>
13+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1314
</PropertyGroup>
1415

1516
<ItemGroup>
1617
<PackageReference Include="Microsoft.FeatureManagement" Version="4.0.0" />
1718
<PackageReference Include="OpenFeature" Version="[2.0,3.0)" />
1819
</ItemGroup>
1920

20-
</Project>
21+
</Project>

src/OpenFeature.Contrib.Providers.Flagd/OpenFeature.Contrib.Providers.Flagd.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<FileVersion>$(VersionNumber)</FileVersion>
99
<Description>flagd provider for .NET</Description>
1010
<Authors>Todd Baert</Authors>
11+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1112
</PropertyGroup>
1213

1314
<ItemGroup>
@@ -38,4 +39,4 @@
3839
Condition="'$(TargetFramework)' == 'netstandard2.0'" />
3940
<PackageReference Include="OpenFeature" Version="[2.0,3.0)" />
4041
</ItemGroup>
41-
</Project>
42+
</Project>

src/OpenFeature.Contrib.Providers.Flagsmith/OpenFeature.Contrib.Providers.Flagsmith.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<FileVersion>$(VersionNumber)</FileVersion>
99
<Description>Flagsmith provider for .NET</Description>
1010
<Authors>Vladimir Petrusevici</Authors>
11+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1112
</PropertyGroup>
1213

1314
<ItemGroup>
@@ -33,4 +34,4 @@
3334
<PropertyGroup>
3435
<LangVersion>latest</LangVersion>
3536
</PropertyGroup>
36-
</Project>
37+
</Project>

src/OpenFeature.Contrib.Providers.Flipt/OpenFeature.Contrib.Providers.Flipt.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<FileVersion>$(VersionNumber)</FileVersion>
99
<Description>Flipt provider for .NET</Description>
1010
<Authors>Jean Andrei de la Cruz Austria</Authors>
11+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1112
</PropertyGroup>
1213

1314
<ItemGroup>
@@ -42,4 +43,4 @@
4243
<Exec
4344
Command="$(NSwagExe_Net90) openapi2csclient /className:FliptRestClient /namespace:Flipt.Rest /input:&quot;openapi.yaml&quot; /output:&quot;$(ProjectDir)obj/$(ConfigurationName)/$(TargetFramework)/Flipt.Rest.Client.cs&quot; /GenerateExceptionClasses:true /OperationGenerationMode:SingleClientFromPathSegments /JsonLibrary:SystemTextJson /GenerateOptionalParameters:true /GenerateDefaultValues:true /GenerateResponseClasses:true /GenerateClientInterfaces:true /GenerateClientClasses:true /GenerateDtoTypes:true /ExceptionClass:FliptRestException /GenerateNativeRecords:true /UseBaseUrl:false /GenerateBaseUrlProperty:false" />
4445
</Target>
45-
</Project>
46+
</Project>

src/OpenFeature.Contrib.Providers.GOFeatureFlag/OpenFeature.Contrib.Providers.GOFeatureFlag.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<FileVersion>$(VersionNumber)</FileVersion>
99
<Description>GO Feature Flag provider for .NET</Description>
1010
<Authors>Thomas Poignant</Authors>
11+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1112
</PropertyGroup>
1213

1314
<ItemGroup
@@ -24,4 +25,4 @@
2425
<LangVersion>8.0</LangVersion>
2526
</PropertyGroup>
2627

27-
</Project>
28+
</Project>

0 commit comments

Comments
 (0)