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:
co-authored by
Claude Opus 4.7
parent
8211047d6b
commit
71cdf8a766
+1
-2
@@ -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
|
||||
}
|
||||
|
||||
+1
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user