This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.editorconfig
421 lines (413 loc) · 15.3 KB
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = false
max_line_length = 100
tab_width = 4
[*.json]
indent_size = 2
keep_blank_lines_in_code = 0
keep_indents_on_empty_lines = false
keep_line_breaks = true
space_after_colon = true
space_after_comma = true
space_before_colon = true
space_before_comma = false
spaces_within_braces = false
spaces_within_brackets = false
wrap_long_lines = false
[{*.bash,*.zsh,*.sh,*.bats}]
tab_width = 2
binary_ops_start_line = false
keep_column_alignment_padding = false
minify_program = false
redirect_followed_by_space = false
switch_cases_indented = false
[{*.cc,*.mm,*.tcc,*.hpp,*.cpp,*.ii,*.hxx,*.hp,*.hh,*.cxx,*.m,*.i,*.h,*.c,*.h++,*.ipp,*.icc,*.c++,*.pch,*.ino,*.inl,*.cp,*.inc}]
add_brief_tag = false
add_getter_prefix = true
add_setter_prefix = true
align_dictionary_pair_values = false
align_group_field_declarations = false
align_init_list_in_columns = false
align_multiline_array_initializer_expression = true
align_multiline_assignment = true
align_multiline_binary_operation = false
align_multiline_chained_methods = false
align_multiline_for = true
align_multiline_ternary_operation = true
array_initializer_comma_on_next_line = false
array_initializer_new_line_after_left_brace = false
array_initializer_right_brace_on_new_line = false
array_initializer_wrap = normal
assignment_wrap = normal
binary_operation_sign_on_next_line = true
binary_operation_wrap = normal
blank_lines_after_class_header = 0
blank_lines_after_imports = 0
blank_lines_around_class = 0
blank_lines_around_field = 0
blank_lines_around_field_in_interface = 0
blank_lines_around_method = 0
blank_lines_around_method_in_interface = 0
blank_lines_around_namespace = 0
blank_lines_around_properties_in_declaration = 0
blank_lines_around_properties_in_interface = 0
blank_lines_before_imports = 0
blank_lines_before_method_body = 0
block_brace_placement = end_of_line
block_brace_style = end_of_line
block_comment_at_first_column = true
catch_on_new_line = false
class_brace_style = end_of_line
class_constructor_init_list_align_multiline = true
class_constructor_init_list_comma_on_next_line = false
class_constructor_init_list_new_line_after_colon = never
class_constructor_init_list_new_line_before_colon = if_long
class_constructor_init_list_wrap = on_every_item
copy_is_deep = false
create_interface_for_categories = true
declare_generated_methods = true
description_include_member_names = true
discharged_short_ternary_operator = false
do_not_add_breaks = false
do_while_brace_force = never
else_on_new_line = false
enum_constants_comma_on_next_line = false
enum_constants_wrap = on_every_item
for_brace_force = never
for_statement_new_line_after_left_paren = false
for_statement_right_paren_on_new_line = false
for_statement_wrap = normal
function_brace_placement = end_of_line
function_call_arguments_align_multiline = true
function_call_arguments_align_multiline_pars = false
function_call_arguments_comma_on_next_line = false
function_call_arguments_new_line_after_lpar = false
function_call_arguments_new_line_before_rpar = false
function_call_arguments_wrap = on_every_item
function_non_top_after_return_type_wrap = off
function_parameters_align_multiline = true
function_parameters_align_multiline_pars = false
function_parameters_comma_on_next_line = false
function_parameters_new_line_after_lpar = false
function_parameters_new_line_before_rpar = false
function_parameters_wrap = on_every_item
function_top_after_return_type_wrap = off
generate_additional_eq_operators = true
generate_additional_rel_operators = true
generate_class_constructor = true
generate_comparison_operators_use_std_tie = false
generate_instance_variables_for_properties = ask
generate_operators_as_members = true
header_guard_style_pattern = ${PROJECT_NAME}_${FILE_NAME}_${EXT}
if_brace_force = never
in_line_short_ternary_operator = true
indent_block_comment = true
indent_c_struct_members = 4
indent_case_from_switch = true
indent_class_members = 4
indent_directive_as_code = false
indent_implementation_members = 0
indent_inside_code_block = 4
indent_interface_members = 0
indent_interface_members_except_ivars_block = false
indent_namespace_members = 0
indent_preprocessor_directive = 0
indent_visibility_keywords = 2
insert_override = true
insert_virtual_with_override = false
introduce_auto_vars = false
introduce_const_params = false
introduce_const_vars = false
introduce_generate_property = false
introduce_generate_synthesize = true
introduce_globals_to_header = true
introduce_prop_to_private_category = false
introduce_static_consts = true
introduce_use_ns_types = false
ivars_prefix = _
keep_blank_lines_before_end = 2
keep_blank_lines_before_right_brace = 1
keep_blank_lines_in_code = 1
keep_blank_lines_in_declarations = 1
keep_case_expressions_in_one_line = false
keep_control_statement_in_one_line = true
keep_directive_at_first_column = true
keep_first_column_comment = true
keep_line_breaks = true
keep_nested_namespaces_in_one_line = false
keep_simple_blocks_in_one_line = true
keep_simple_methods_in_one_line = true
keep_structures_in_one_line = true
lambda_capture_list_align_multiline = false
lambda_capture_list_align_multiline_bracket = false
lambda_capture_list_comma_on_next_line = false
lambda_capture_list_new_line_after_lbracket = false
lambda_capture_list_new_line_before_rbracket = false
lambda_capture_list_wrap = off
line_comment_add_space = false
line_comment_at_first_column = false
method_brace_placement = end_of_line
method_call_arguments_align_by_colons = true
method_call_arguments_align_multiline = false
method_call_arguments_special_dictionary_pairs_treatment = true
method_call_arguments_wrap = off
method_call_chain_wrap = off
method_parameters_align_by_colons = true
method_parameters_align_multiline = false
method_parameters_wrap = off
namespace_brace_placement = end_of_line
parentheses_expression_new_line_after_left_paren = false
parentheses_expression_right_paren_on_new_line = false
place_assignment_sign_on_next_line = false
property_nonatomic = true
put_ivars_to_implementation = true
refactor_compatibility_aliases_and_classes = true
refactor_properties_and_ivars = true
release_style = ivar
retain_object_parameters_in_constructor = true
semicolon_after_method_signature = false
shift_operation_align_multiline = true
shift_operation_wrap = normal
show_non_virtual_functions = false
space_after_colon = true
space_after_colon_in_selector = false
space_after_comma = true
space_after_cup_in_blocks = false
space_after_dictionary_literal_colon = true
space_after_for_semicolon = true
space_after_init_list_colon = true
space_after_method_parameter_type_parentheses = false
space_after_method_return_type_parentheses = false
space_after_pointer_in_declaration = false
space_after_quest = true
space_after_reference_in_declaration = false
space_after_reference_in_rvalue = false
space_after_structures_rbrace = true
space_after_superclass_colon = true
space_after_type_cast = true
space_after_visibility_sign_in_method_declaration = true
space_before_autorelease_pool_lbrace = true
space_before_catch_keyword = true
space_before_catch_left_brace = true
space_before_catch_parentheses = true
space_before_category_parentheses = true
space_before_chained_send_message = true
space_before_class_left_brace = true
space_before_colon = true
space_before_comma = false
space_before_dictionary_literal_colon = false
space_before_do_left_brace = true
space_before_else_keyword = true
space_before_else_left_brace = true
space_before_for_left_brace = true
space_before_for_parentheses = true
space_before_for_semicolon = false
space_before_if_left_brace = true
space_before_if_parentheses = true
space_before_init_list = false
space_before_init_list_colon = true
space_before_method_call_parentheses = false
space_before_method_left_brace = true
space_before_method_parentheses = false
space_before_namespace_lbrace = true
space_before_pointer_in_declaration = true
space_before_property_attributes_parentheses = false
space_before_protocols_brackets = true
space_before_quest = true
space_before_reference_in_declaration = true
space_before_superclass_colon = true
space_before_switch_left_brace = true
space_before_switch_parentheses = true
space_before_template_call_lt = false
space_before_template_declaration_lt = false
space_before_try_left_brace = true
space_before_while_keyword = true
space_before_while_left_brace = true
space_before_while_parentheses = true
space_between_adjacent_brackets = false
space_between_operator_and_punctuator = false
space_within_empty_array_initializer_braces = false
spaces_around_additive_operators = true
spaces_around_assignment_operators = true
spaces_around_bitwise_operators = true
spaces_around_equality_operators = true
spaces_around_lambda_arrow = true
spaces_around_logical_operators = true
spaces_around_multiplicative_operators = true
spaces_around_pm_operators = false
spaces_around_relational_operators = true
spaces_around_shift_operators = true
spaces_around_unary_operator = false
spaces_within_array_initializer_braces = false
spaces_within_braces = true
spaces_within_brackets = false
spaces_within_cast_parentheses = false
spaces_within_catch_parentheses = false
spaces_within_category_parentheses = false
spaces_within_empty_braces = false
spaces_within_empty_function_call_parentheses = false
spaces_within_empty_function_declaration_parentheses = false
spaces_within_empty_lambda_capture_list_bracket = false
spaces_within_empty_template_call_ltgt = false
spaces_within_empty_template_declaration_ltgt = false
spaces_within_for_parentheses = false
spaces_within_function_call_parentheses = false
spaces_within_function_declaration_parentheses = false
spaces_within_if_parentheses = false
spaces_within_lambda_capture_list_bracket = false
spaces_within_method_parameter_type_parentheses = false
spaces_within_method_return_type_parentheses = false
spaces_within_parentheses = false
spaces_within_property_attributes_parentheses = false
spaces_within_protocols_brackets = false
spaces_within_send_message_brackets = false
spaces_within_switch_parentheses = false
spaces_within_template_call_ltgt = false
spaces_within_template_declaration_ltgt = false
spaces_within_template_double_gt = true
spaces_within_while_parentheses = false
special_else_if_treatment = true
superclass_list_after_colon = never
superclass_list_align_multiline = true
superclass_list_before_colon = if_long
superclass_list_comma_on_next_line = false
superclass_list_wrap = on_every_item
tag_prefix_of_block_comment = at
tag_prefix_of_line_comment = back_slash
template_call_arguments_align_multiline = true
template_call_arguments_align_multiline_pars = false
template_call_arguments_comma_on_next_line = false
template_call_arguments_new_line_after_lt = false
template_call_arguments_new_line_before_gt = false
template_call_arguments_wrap = on_every_item
template_declaration_function_body_indent = false
template_declaration_function_wrap = split_into_lines
template_declaration_struct_body_indent = false
template_declaration_struct_wrap = split_into_lines
template_parameters_align_multiline = false
template_parameters_align_multiline_pars = false
template_parameters_comma_on_next_line = false
template_parameters_new_line_after_lt = false
template_parameters_new_line_before_gt = false
template_parameters_wrap = off
ternary_operation_signs_on_next_line = true
ternary_operation_wrap = normal
type_qualifiers_placement = before
use_modern_casts = true
use_setters_in_constructor = true
while_brace_force = never
while_on_new_line = false
wrap_property_declaration = off
[{*.htm,*.sht,*.html,*.shtm,*.shtml}]
add_new_line_before_tags = body,div,p,form,h1,h2,h3
align_attributes = true
align_text = false
attribute_wrap = normal
block_comment_at_first_column = true
do_not_align_children_of_min_lines = 0
do_not_break_if_inline_tags = title,h1,h2,h3,h4,h5,h6,p
do_not_indent_children_of_tags = html,body,thead,tbody,tfoot
enforce_quotes = false
inline_tags = a,abbr,acronym,b,basefont,bdo,big,br,cite,cite,code,dfn,em,font,i,img,input,kbd,label,q,s,samp,select,small,span,strike,strong,sub,sup,textarea,tt,u,var
keep_blank_lines = 2
keep_indents_on_empty_lines = false
keep_line_breaks = true
keep_line_breaks_in_text = true
keep_whitespaces = false
keep_whitespaces_inside = span,pre,textarea
line_comment_at_first_column = true
new_line_after_last_attribute = never
new_line_before_first_attribute = never
quote_style = double
remove_new_line_before_tags = br
space_after_tag_name = false
space_around_equality_in_attribute = false
space_inside_empty_tag = false
text_wrap = normal
[{*.pyw,*.py}]
align_collections_and_comprehensions = true
align_multiline_imports = true
align_multiline_parameters = true
align_multiline_parameters_in_calls = true
blank_line_at_file_end = true
blank_lines_after_imports = 1
blank_lines_after_local_imports = 0
blank_lines_around_class = 1
blank_lines_around_method = 1
blank_lines_around_top_level_classes_functions = 2
blank_lines_before_first_method = 0
dict_alignment = 0
dict_new_line_after_left_brace = false
dict_new_line_before_right_brace = false
dict_wrapping = 1
from_import_new_line_after_left_parenthesis = false
from_import_new_line_before_right_parenthesis = false
from_import_parentheses_force_if_multiline = false
from_import_trailing_comma_if_multiline = false
from_import_wrapping = 1
hang_closing_brackets = false
keep_blank_lines_in_code = 1
keep_blank_lines_in_declarations = 1
keep_indents_on_empty_lines = false
keep_line_breaks = true
new_line_after_colon = false
new_line_after_colon_multi_clause = true
optimize_imports_always_split_from_imports = false
optimize_imports_case_insensitive_order = false
optimize_imports_join_from_imports_with_same_source = false
optimize_imports_sort_by_type_first = true
optimize_imports_sort_imports = true
optimize_imports_sort_names_in_from_imports = false
space_after_comma = true
space_after_number_sign = true
space_after_py_colon = true
space_before_backslash = true
space_before_comma = false
space_before_for_semicolon = false
space_before_lbracket = false
space_before_method_call_parentheses = false
space_before_method_parentheses = false
space_before_number_sign = true
space_before_py_colon = false
space_within_empty_method_call_parentheses = false
space_within_empty_method_parentheses = false
spaces_around_additive_operators = true
spaces_around_assignment_operators = true
spaces_around_bitwise_operators = true
spaces_around_eq_in_keyword_argument = false
spaces_around_eq_in_named_parameter = false
spaces_around_equality_operators = true
spaces_around_multiplicative_operators = true
spaces_around_power_operator = true
spaces_around_relational_operators = true
spaces_around_shift_operators = true
spaces_within_braces = false
spaces_within_brackets = false
spaces_within_method_call_parentheses = false
spaces_within_method_parentheses = false
use_continuation_indent_for_arguments = false
use_continuation_indent_for_collection_and_comprehensions = false
wrap_long_lines = false
[{.clang-format,.clang-tidy,_clang-format,*.yml,*.yaml}]
indent_size = 2
keep_indents_on_empty_lines = false
keep_line_breaks = true
[{CMakeLists.txt,*.cmake}]
align_multiline_parameters_in_calls = false
force_commands_case = 2
keep_blank_lines_in_code = 2
space_before_for_parentheses = true
space_before_if_parentheses = true
space_before_method_call_parentheses = false
space_before_method_parentheses = false
space_before_while_parentheses = true
spaces_within_for_parentheses = false
spaces_within_if_parentheses = false
spaces_within_method_call_parentheses = false
spaces_within_method_parentheses = false
spaces_within_while_parentheses = false