From 4af4315eb6e15371d47fc0bb3b49fb005e8f24c3 Mon Sep 17 00:00:00 2001
From: Rocket Understudy <33589210+rsg-bot@users.noreply.github.com>
Date: Sat, 4 Jan 2025 00:33:56 -0500
Subject: [PATCH] Automatically linting code
---
Directory.Packages.props | 356 +++++++++---------
.../Validation/FluentValidationOptions.cs | 12 +-
.../Conventions/SerilogTelemetryConvention.cs | 2 +-
3 files changed, 185 insertions(+), 185 deletions(-)
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 8d6661f5b..9314ed277 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -1,181 +1,181 @@
-
+
+
-
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 11.0.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 11.0.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Condition="Exists('$(MSBuildThisFileDirectory)/Directory.Packages.support.props')" />
diff --git a/src/Foundation/Validation/FluentValidationOptions.cs b/src/Foundation/Validation/FluentValidationOptions.cs
index 50af15126..e37efbd5e 100644
--- a/src/Foundation/Validation/FluentValidationOptions.cs
+++ b/src/Foundation/Validation/FluentValidationOptions.cs
@@ -19,11 +19,11 @@ public virtual ValidateOptionsResult Validate(string? name, T options)
if (validator is null) return ValidateOptionsResult.Skip;
var result = validator.Validate(options);
- return result.IsValid
- ? ValidateOptionsResult.Success
- : ValidateOptionsResult.Fail(
- new[] { $"Failure while validating {typeof(T).GetNestedTypeName()}{( name == Options.DefaultName ? "" : $" (Name: {name})" )}." }
- .Concat(result.Errors.Select(z => z.ToString()))
- );
+ return result.IsValid
+ ? ValidateOptionsResult.Success
+ : ValidateOptionsResult.Fail(
+ new[] { $"Failure while validating {typeof(T).GetNestedTypeName()}{( name == Options.DefaultName ? "" : $" (Name: {name})" )}." }
+ .Concat(result.Errors.Select(z => z.ToString()))
+ );
}
}
diff --git a/src/Hosting/Conventions/SerilogTelemetryConvention.cs b/src/Hosting/Conventions/SerilogTelemetryConvention.cs
index 5641af95e..aa01f3f86 100644
--- a/src/Hosting/Conventions/SerilogTelemetryConvention.cs
+++ b/src/Hosting/Conventions/SerilogTelemetryConvention.cs
@@ -8,7 +8,7 @@
namespace Rocket.Surgery.LaunchPad.Hosting.Conventions;
///
-/// Defines serilog telemetry configuration
+/// Defines serilog telemetry configuration
///
[PublicAPI]
[ExportConvention]