From 3caee506c961ae0e78503164ed6a0f81db3c8c32 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Thu, 10 Apr 2025 21:33:44 +0200 Subject: Add husky and update dependencies --- .editorconfig | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .editorconfig (limited to '.editorconfig') 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 -- cgit v1.3