chore: update insert_final_newline setting

This commit is contained in:
Louis Seubert 2026-05-16 12:36:35 +02:00
commit 2572bd3695
Signed by: louis9902
GPG key ID: 4B9DB28F826553BD
151 changed files with 151 additions and 151 deletions

View file

@ -45,4 +45,4 @@ public interface IPropertyRuleBuilder<T, out TProperty>
/// <param name="severity">The severity level of the validation rule.</param>
/// <returns>The current rule builder instance for method chaining.</returns>
IPropertyRuleBuilder<T, TProperty> WithSeverity(Severity severity);
}
}

View file

@ -28,4 +28,4 @@ public interface IValidator<in T> : IValidator
/// <param name="instance">The instance of type <typeparamref name="T"/> to validate.</param>
/// <returns>A <see cref="Validation"/> object containing the results of the validation, including any problems encountered.</returns>
Validation Validate(T instance);
}
}

View file

@ -32,4 +32,4 @@ public record Problem
/// The property value that caused the failure.
/// </summary>
public object? AttemptedValue { get; init; }
}
}

View file

@ -166,4 +166,4 @@ internal sealed class PropertyPathJsonConverter : JsonConverter<PropertyPath>
{
writer.WriteStringValue(value.ToJsonName(options.PropertyNamingPolicy));
}
}
}

View file

@ -133,4 +133,4 @@ internal sealed record CollectionRule<T, TElement> : Rule<T, TElement>
index++;
}
}
}
}

View file

@ -316,4 +316,4 @@ public static class RuleBuilderExtensions
return rule.Must(value => IsNull(value) || regex.IsMatch(value),
"Value is not in the correct format.");
}
}
}

View file

@ -61,4 +61,4 @@ internal sealed record ValidatorRuleStep<TValue> : IRuleStep<TValue>
yield return problem with { PropertyPath = propertyPath + problem.PropertyPath };
}
}
}
}

View file

@ -22,4 +22,4 @@ public enum Severity
/// Info
/// </summary>
Info,
}
}

View file

@ -29,4 +29,4 @@ public sealed class Validation
/// The problems that were found during validation.
/// </summary>
public IReadOnlyList<Problem> Problems { get; }
}
}

View file

@ -61,4 +61,4 @@ public sealed class ValidationContext<T> : ValidationContext
/// The object currently being validated.
/// </summary>
public new T? Instance => base.Instance is T value ? value : default;
}
}

View file

@ -140,4 +140,4 @@ public abstract class Validator<T> : IValidator<T>
return this;
}
}
}
}