From 171ad2534c59fb097267173af512bb22af9b37de Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Mon, 24 Nov 2025 06:50:07 +0900 Subject: [PATCH 1/2] chore: add .editorfile file --- .editorconfig | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..143b9c012c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,30 @@ +root = true + +# All files +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true +insert_final_newline = unset + +# JSON files +[*.json] +indent_size = 2 + +# XML files +[*.{xml,resx,ruleset}] +indent_size = 2 + +# .NET project files +[*.{csproj,vbproj,props}] +indent_size = 2 + +# Markdown files +[*.md] +trim_trailing_whitespace = false + +# C# files +[*.cs] +csharp_style_namespace_declarations=file_scoped:suggestion From 8ecf1d36690f0152f8da155820d06c3a9a4e42f0 Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Fri, 6 Feb 2026 13:57:41 +0900 Subject: [PATCH 2/2] chore: add namespace sort setting --- .editorconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/.editorconfig b/.editorconfig index 143b9c012c..f4a8084add 100644 --- a/.editorconfig +++ b/.editorconfig @@ -28,3 +28,4 @@ trim_trailing_whitespace = false # C# files [*.cs] csharp_style_namespace_declarations=file_scoped:suggestion +dotnet_sort_system_directives_first = true