aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-05-26 10:48:43 +0200
committerAriel Costas Guerrero <ariel@costas.dev>2025-05-26 10:48:43 +0200
commit5ced7f916d94e86e9a7ec164bee56f9a8e3a2a3a (patch)
treeb1ef5afa17b4a2f9fb2cbd683afc2fb6d905b5e1 /.editorconfig
parent4637373b50636e78dc2c7b6f99be879edb4ff7dc (diff)
Replace Azure SWA with custom server
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig50
1 files changed, 50 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..7f4b09b
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,50 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.{yml,yaml,css}]
+indent_style = space
+indent_size = 2
+
+[*.{md,markdown}]
+trim_trailing_whitespace = false
+
+[*.json]
+indent_style = space
+
+[*.cs]
+indent_style = space
+indent_size = 4
+
+dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
+
+csharp_style_var_when_type_is_apparent = false:suggestion
+csharp_style_var_elsewhere = true:suggestion
+
+dotnet_style_qualification_for_field = false:suggestion
+dotnet_style_qualification_for_property = false:suggestion
+dotnet_style_qualification_for_method = false:suggestion
+dotnet_style_qualification_for_event = false:suggestion
+
+dotnet_style_readonly_field = true:suggestion
+
+csharp_style_namespace_declarations = file_scoped:suggestion
+csharp_prefer_static_local_function = true:suggestion
+
+csharp_prefer_braces = true:suggestion
+csharp_space_between_method_call_parentheses = false:suggestion
+
+csharp_new_line_before_open_brace = all
+csharp_indent_case_contents = true
+csharp_indent_switch_labels = true
+
+resharper_unused_auto_property_accessor_global_highlighting = none
+dotnet_code_quality_unused_parameters = all
+
+dotnet_diagnostic.IDE0005.severity = error # Remove unused 'using' statements
+dotnet_diagnostic.IDE0290.severity = none # Disable suggesting to use primary constructors
+