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.
|
/// Specifies the type of SQL constraint.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Flags]
|
[Flags]
|
||||||
public enum ConstraintType
|
public enum ConstraintTypes
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Default value constraint.
|
/// Default value constraint.
|
||||||
@@ -36,4 +36,3 @@ public enum ConstraintType
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
All = 31
|
All = 31
|
||||||
}
|
}
|
||||||
|
|
||||||
+1
-2
@@ -4,7 +4,7 @@ namespace Strata.SqlTools.SqlBreakdown.Enums.SQL;
|
|||||||
/// Specifies the type of SQL trigger.
|
/// Specifies the type of SQL trigger.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Flags]
|
[Flags]
|
||||||
public enum TriggerType
|
public enum TriggerTypes
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Trigger fires after the action.
|
/// Trigger fires after the action.
|
||||||
@@ -21,4 +21,3 @@ public enum TriggerType
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
Both = 3
|
Both = 3
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user