chore(sonar)!: pluralize unused [Flags] enums (S2342)

S2342 requires [Flags] enums to use plural names. Both enums have zero
references anywhere in the repo today.

- ConstraintType -> ConstraintTypes
- TriggerType    -> TriggerTypes

BREAKING CHANGE: external NuGet consumers (if any) referencing these
singular-named types will need to update to the plural names. Internal
codebase has no references.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Thom Lamb
2026-05-26 09:32:02 -05:00
co-authored by Claude Opus 4.7
parent 8211047d6b
commit 71cdf8a766
2 changed files with 2 additions and 4 deletions
@@ -4,7 +4,7 @@ namespace Strata.SqlTools.SqlBreakdown.Enums.SQL;
/// Specifies the type of SQL constraint.
/// </summary>
[Flags]
public enum ConstraintType
public enum ConstraintTypes
{
/// <summary>
/// Default value constraint.
@@ -36,4 +36,3 @@ public enum ConstraintType
/// </summary>
All = 31
}
@@ -4,7 +4,7 @@ namespace Strata.SqlTools.SqlBreakdown.Enums.SQL;
/// Specifies the type of SQL trigger.
/// </summary>
[Flags]
public enum TriggerType
public enum TriggerTypes
{
/// <summary>
/// Trigger fires after the action.
@@ -21,4 +21,3 @@ public enum TriggerType
/// </summary>
Both = 3
}