Skip to content

Commit b7e3028

Browse files
authored
chore(EditorConfig): add namespace rules (#7136)
* chore: 增加命名空间提示信息配置 * chore: 增加命名空间格式配置
1 parent 52058b6 commit b7e3028

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,8 @@ indent_size = 2
1919
end_of_line = lf
2020

2121
[*.cs]
22+
dotnet_analyzer_diagnostic.category-Style.severity = none
23+
csharp_style_namespace_declarations = file_scoped:silent
24+
2225
# Add file header
2326
file_header_template = Licensed to the .NET Foundation under one or more agreements.\nThe .NET Foundation licenses this file to you under the Apache 2.0 License\nSee the LICENSE file in the project root for more information.\nMaintainer: Argo Zhang([email protected]) Website: https://www.blazor.zone

0 commit comments

Comments
 (0)