ArchiSteamFarm/.editorconfig
Abrynos 19cacdb826 Feature editorconfig (#844)
* Move scrollable-menu's up by their height where there's always space for them to be displayed - Implements #805

* create .editorconfig

* revert Implementation of #805 for this branch

* Remove default values

* Work through everything on https://docs.microsoft.com/en-US/visualstudio/ide/editorconfig-code-style-settings-reference

* clean up with tabs

* Remove all tabs

* Fix small mistake and make some settings global

* Add everything that has severity level of none with default value and severity level of suggestion; pack things with similarities together

* Remove forgotten warning

* Remove default line

* Make csharp_style_expression_bodied_* when_on_single_line

* Add suggestion to modifier order

* Add csharp_new_line_before_* with false:suggestion

* Fix small mistake with casts

* Add suggestion severity to final newline

* Remove wrong duplicate of csharp_new_line_before_open_brace

* Switch to default modifier order

* rename public_members_must_be_capitalized to all_members_must_be_capitalized

* Add missing newline

* Make warnings suggestions like everywhere else

* remove error-level where no one is allowed
2018-07-11 08:53:08 +02:00

77 lines
3.8 KiB
INI

root = true
[*]
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
[*.cs]
csharp_prefer_braces = true:suggestion
csharp_new_line_before_open_brace = none:suggestion
csharp_new_line_before_else = false:suggestion
csharp_new_line_before_catch = false:suggestion
csharp_new_line_before_finally = false:suggestion
csharp_new_line_before_members_in_object_initializers = false:suggestion
csharp_new_line_before_members_in_anonymous_types = false:suggestion
csharp_new_line_between_query_expression_clauses = false:suggestion
csharp_style_var_for_built_in_types = false:suggestion
csharp_style_var_when_type_is_apparent = false:suggestion
csharp_style_var_elsewhere = false:suggestion
csharp_style_expression_bodied_methods = when_on_single_line:suggestion
csharp_style_expression_bodied_constructors = when_on_single_line:suggestion
csharp_style_expression_bodied_operators = when_on_single_line:suggestion
csharp_style_expression_bodied_properties = when_on_single_line:suggestion
csharp_style_expression_bodied_indexers = when_on_single_line:suggestion
csharp_style_expression_bodied_accessors = when_on_single_line:suggestion
csharp_style_pattern_matching_over_as_with_null_check = false:suggestion
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion
csharp_preserve_single_line_statements = false:suggestion
csharp_preserve_single_line_blocks = true:suggestion
csharp_indent_case_contents = true:suggestion
csharp_indent_switch_labels = true:suggestion
csharp_space_after_cast = true:suggestion
csharp_space_after_keywords_in_control_flow_statements = true:suggestion
csharp_space_between_method_declaration_parameter_list_parentheses = false:suggestion
csharp_space_between_method_call_parameter_list_parentheses = false:suggestion
csharp_space_between_parentheses = false:suggestion
csharp_space_before_colon_in_inheritance_clause = true:suggestion
csharp_space_after_colon_in_inheritance_clause = true:suggestion
csharp_space_around_binary_operators = before_and_after:suggestion
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false:suggestion
csharp_space_between_method_call_name_and_opening_parenthesis = false:suggestion
csharp_space_between_method_call_empty_parameter_list_parentheses = false:suggestion
dotnet_sort_system_directives_first = true:suggestion
dotnet_style_require_accessibility_modifiers = always: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_prefer_auto_properties = true:suggestion
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
dotnet_style_predefined_type_for_member_access = true:suggestion
# PascalCase for naming everything but parameters
dotnet_naming_rule.all_members_must_be_capitalized.symbols = all_symbols
dotnet_naming_symbols.all_symbols.applicable_kinds = class,struct,interface,enum,property,method,field,event,delegate
dotnet_naming_symbols.all_symbols.applicable_accessibilities = *
dotnet_naming_rule.all_members_must_be_capitalized.style = all_symbols
dotnet_naming_style.all_symbols.capitalization = pascal_case
dotnet_naming_rule.all_members_must_be_capitalized.severity = suggestion
# camelCase for naming parameters
dotnet_naming_rule.parameters_must_be_camel_case.symbols = params
dotnet_naming_symbols.params.applicable_kinds = parameter
dotnet_naming_symbols.params.applicable_accessibilities = *
dotnet_naming_rule.parameters_must_be_camel_case.style = params
dotnet_naming_style.params.capitalization = camel_case
dotnet_naming_rule.parameters_must_be_camel_case.severity = suggestion