aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-04-10 21:33:44 +0200
committerAriel Costas Guerrero <ariel@costas.dev>2025-04-10 21:33:44 +0200
commit3caee506c961ae0e78503164ed6a0f81db3c8c32 (patch)
tree91bacabb0fa2b12f0e041f26959472381f3d6a63 /.editorconfig
parentf8ea986c8d26a519ba30dfa97095487f85a09237 (diff)
Add husky and update dependencies
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig49
1 files changed, 49 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..59798fb
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,49 @@
+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 \ No newline at end of file