diff --git a/.editorconfig b/.editorconfig index 6e87a00..1cd2c0e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,12 +2,16 @@ root = true [*] -charset = utf-8 indent_style = space indent_size = 2 insert_final_newline = true trim_trailing_whitespace = true +# .NET sources use 4-space indent (dotnet format enforces this). The 2-space default +# above is for the frontend (TS/HTML/CSS/JSON); C# keeps the .NET convention. +[*.cs] +indent_size = 4 + [*.md] max_line_length = off trim_trailing_whitespace = false