diff --git a/admin-server/.editorconfig b/admin-server/.editorconfig index f822c3f..173e8ce 100644 --- a/admin-server/.editorconfig +++ b/admin-server/.editorconfig @@ -1,4 +1,7 @@ -[*.cs] +root = true + +[*.cs] +charset = utf-8 #设置文件字符集为utf-8,在 Linux 系统中,通常推荐使用 UTF-8 而不是 UTF-8 with BOM。添加 BOM 可能会干扰那些不期望在文件开头出现非 ASCII 字节的软件对 UTF-8 的使用。 # IDE0058: 永远不会使用表达式值 csharp_style_unused_value_expression_statement_preference = unused_local_variable