Skip to content

Commit 48d839d

Browse files
ANcpLuaclaude
andcommitted
chore: sync ANcpLua.Analyzers diagnostic IDs to AL1xxx scheme
ANcpLua.Analyzers renumbered its diagnostics; update .editorconfig severity overrides to the new IDs (AL0025->AL1700, AL0026->AL1701, AL0027->AL1702, AL0029->AL1201) so the overrides stop being silently ignored. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 9513ae2 commit 48d839d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.editorconfig

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ insert_final_newline = true
1111

1212
[*.cs]
1313
# ANcpLua.Analyzers rules
14-
dotnet_diagnostic.AL0025.severity = warning # Prefer static lambda
15-
dotnet_diagnostic.AL0026.severity = warning # DateTime.Now/UtcNow
16-
dotnet_diagnostic.AL0027.severity = warning # Newtonsoft.Json
14+
dotnet_diagnostic.AL1700.severity = warning # Prefer static lambda
15+
dotnet_diagnostic.AL1701.severity = warning # DateTime.Now/UtcNow
16+
dotnet_diagnostic.AL1702.severity = warning # Newtonsoft.Json
1717

1818
# CA1062: Validate arguments of public methods — Roslyn callbacks guarantee non-null
1919
dotnet_diagnostic.CA1062.severity = none
@@ -116,8 +116,8 @@ dotnet_diagnostic.CA1019.severity = none # Polyfill attribute constructor — in
116116
dotnet_diagnostic.CA1305.severity = none # uint.ToString() no locale dependence
117117
dotnet_diagnostic.CA1812.severity = none # IsExternalInit compiler-reserved type
118118

119-
# Extractor.cs: AL0029 flags foreach-over-GetAttributes() loops, suggesting
119+
# Extractor.cs: AL1201 flags foreach-over-GetAttributes() loops, suggesting
120120
# HasAttribute() instead. These loops legitimately need to extract constructor
121121
# arguments and named arguments from AttributeData, not just check existence.
122122
[**/ErrorOrX.Generators/Core/ErrorOrEndpointGenerator.Extractor.cs]
123-
dotnet_diagnostic.AL0029.severity = none
123+
dotnet_diagnostic.AL1201.severity = none

0 commit comments

Comments
 (0)