Skip to content

Commit 9150e15

Browse files
committed
🎨 Update editorconfig
1 parent e0f9ba9 commit 9150e15

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,3 +482,8 @@ dotnet_diagnostic.CS8604.severity = error
482482
# CA1829: 在可用时使用 Length/Count 属性而不是 Count()
483483
dotnet_diagnostic.CA1829.severity = error
484484

485+
# CA1846: 首选 “AsSpan” 而不是 “Substring”
486+
dotnet_diagnostic.CA1846.severity = error
487+
488+
# IDE0057: 使用范围运算符
489+
dotnet_diagnostic.IDE0057.severity = error

0 commit comments

Comments
 (0)