reduced .editorconfig
This commit is contained in:
Родитель
f9622279f1
Коммит
46c4d4fe32
405
.editorconfig
405
.editorconfig
|
@ -1,13 +1,15 @@
|
|||
# https://editorconfig.org/
|
||||
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_size = 4
|
||||
indent_style = space
|
||||
insert_final_newline = false
|
||||
indent_size = 4
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
max_line_length = 100
|
||||
tab_width = 4
|
||||
|
||||
[*.json]
|
||||
indent_size = 2
|
||||
|
@ -21,401 +23,20 @@ space_before_comma = false
|
|||
spaces_within_braces = false
|
||||
spaces_within_brackets = false
|
||||
wrap_long_lines = false
|
||||
insert_final_newline = ignore
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
|
||||
[{*.bash,*.zsh,*.sh,*.bats}]
|
||||
tab_width = 2
|
||||
tab_width = 4
|
||||
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}]
|
||||
[{*.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
|
||||
|
|
Загрузка…
Ссылка в новой задаче