OpenGost

Форк
0
/
.editorconfig 
125 строк · 6.6 Кб
1
root = true
2

3
[*]
4
insert_final_newline = true
5
indent_style = space
6
trim_trailing_whitespace = true
7

8
[*.{cs,csx,vb,vbx}]
9
indent_size = 4
10
max_line_length = 120
11
charset = utf-8-bom
12

13
[*.{cs,vb}]
14
dotnet_sort_system_directives_first = true
15
dotnet_style_qualification_for_field = false:silent
16
dotnet_style_qualification_for_property = false:silent
17
dotnet_style_qualification_for_method = false:silent
18
dotnet_style_qualification_for_event = false:silent
19
dotnet_style_predefined_type_for_locals_parameters_members = true:silent
20
dotnet_style_predefined_type_for_member_access = true:silent
21
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent
22
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent
23
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
24
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
25
dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent
26
dotnet_style_readonly_field = true:suggestion
27
dotnet_style_object_initializer = true:suggestion
28
dotnet_style_collection_initializer = true:suggestion
29
dotnet_style_explicit_tuple_names = true:suggestion
30
dotnet_style_null_propagation = true:suggestion
31
dotnet_style_coalesce_expression = true:suggestion
32
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:silent
33
dotnet_style_prefer_inferred_tuple_names = true:suggestion
34
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
35
dotnet_style_prefer_auto_properties = true:silent
36
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
37
dotnet_style_prefer_conditional_expression_over_return = true:silent
38
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
39
dotnet_naming_style.camel_case_style.capitalization = camel_case
40
dotnet_naming_style.camel_case_underscore_style.capitalization = camel_case
41
dotnet_naming_style.camel_case_underscore_style.required_prefix = _
42
dotnet_naming_style.pascal_case_type_parameter_style.capitalization = pascal_case
43
dotnet_naming_style.pascal_case_type_parameter_style.required_prefix = T
44
dotnet_naming_style.pascal_case_interface_style.capitalization = pascal_case
45
dotnet_naming_style.pascal_case_interface_style.required_prefix = I
46
dotnet_naming_rule.pascal_case_symbols.severity = suggestion
47
dotnet_naming_rule.pascal_case_symbols.symbols = pascal_case_symbols
48
dotnet_naming_rule.pascal_case_symbols.style = pascal_case
49
dotnet_naming_symbols.pascal_case_symbols.applicable_kinds = namespace,class,struct,enum,property,method,field,event,delegate,local_function
50
dotnet_naming_rule.camel_case_symbols.severity = suggestion
51
dotnet_naming_rule.camel_case_symbols.symbols = camel_case_symbols
52
dotnet_naming_rule.camel_case_symbols.style = camel_case
53
dotnet_naming_symbols.camel_case_symbols.applicable_kinds = parameter,local
54
dotnet_naming_rule.interfaces.severity = suggestion
55
dotnet_naming_rule.interfaces.symbols = interfaces
56
dotnet_naming_rule.interfaces.style = pascal_case_interface_style
57
dotnet_naming_symbols.interfaces.applicable_kinds = interface
58
dotnet_naming_symbols.interfaces.applicable_accessibilities = *
59
dotnet_naming_rule.type_parameters.severity = suggestion
60
dotnet_naming_rule.type_parameters.symbols = type_parameters
61
dotnet_naming_rule.type_parameters.style = pascal_case_type_parameter_style
62
dotnet_naming_symbols.type_parameters.applicable_kinds = type_parameter
63
dotnet_naming_rule.constant_fields.severity = suggestion
64
dotnet_naming_rule.constant_fields.symbols = constant_fields
65
dotnet_naming_rule.constant_fields.style = pascal_case_style
66
dotnet_naming_symbols.constant_fields.applicable_kinds = field
67
dotnet_naming_symbols.constant_fields.required_modifiers = const
68
dotnet_naming_rule.private_fields.severity = suggestion
69
dotnet_naming_rule.private_fields.symbols= private_fields
70
dotnet_naming_rule.private_fields.style= camel_case_underscore_style
71
dotnet_naming_symbols.private_fields.applicable_kinds = field
72
dotnet_naming_symbols.private_fields.applicable_accessibilities = private
73

74
[*.cs]
75
csharp_style_var_for_built_in_types = true:silent
76
csharp_style_var_when_type_is_apparent = true:silent
77
csharp_style_var_elsewhere = true:silent
78
csharp_style_expression_bodied_methods = false:silent
79
csharp_style_expression_bodied_constructors = false:silent
80
csharp_style_expression_bodied_operators = false:silent
81
csharp_style_expression_bodied_properties = true:silent
82
csharp_style_expression_bodied_indexers = true:silent
83
csharp_style_expression_bodied_accessors = true:silent
84
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
85
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
86
csharp_style_throw_expression = true:suggestion
87
csharp_style_conditional_delegate_call = true:suggestion
88
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion
89
csharp_prefer_braces = false:silent
90
csharp_style_deconstructed_variable_declaration = true:suggestion
91
csharp_prefer_simple_default_expression = true:suggestion
92
csharp_style_pattern_local_over_anonymous_function = true:suggestion
93
csharp_style_inlined_variable_declaration = true:suggestion
94
csharp_new_line_before_open_brace = all
95
csharp_new_line_before_else = true
96
csharp_new_line_before_catch = true
97
csharp_new_line_before_finally = true
98
csharp_new_line_before_members_in_object_initializers = true
99
csharp_new_line_before_members_in_anonymous_types = true
100
csharp_new_line_between_query_expression_clauses = true
101
csharp_indent_case_contents = true
102
csharp_indent_switch_labels = true
103
csharp_indent_labels = flush_left
104
csharp_space_after_cast = false
105
csharp_space_after_keywords_in_control_flow_statements = true
106
csharp_space_between_method_call_parameter_list_parentheses = false
107
csharp_space_between_method_declaration_parameter_list_parentheses = false
108
csharp_space_between_parentheses = false
109
csharp_space_before_colon_in_inheritance_clause = true
110
csharp_space_after_colon_in_inheritance_clause = true
111
csharp_space_around_binary_operators = before_and_after
112
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
113
csharp_space_between_method_call_name_and_opening_parenthesis = false
114
csharp_space_between_method_call_empty_parameter_list_parentheses = false
115
csharp_preserve_single_line_statements = true
116
csharp_preserve_single_line_blocks = true
117

118
[*.vb]
119
visual_basic_preferred_modifier_order = Partial,Default,Private,Protected,Public,Friend,NotOverridable,Overridable,MustOverride,Overloads,Overrides,MustInherit,NotInheritable,Static,Shared,Shadows,ReadOnly,WriteOnly,Dim,Const,WithEvents,Widening,Narrowing,Custom,Async:suggestion
120

121
[*.{xml,config,*proj,props,resx,targets,ruleset}]
122
indent_size = 2
123

124
[*.json]
125
indent_size = 2
126

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.