Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Commit 118988b

Browse files
committed
📖 Updated .editorconfig file
1 parent f0106de commit 118988b

File tree

1 file changed

+29
-22
lines changed

1 file changed

+29
-22
lines changed

‎.editorconfig

+29-22
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ indent_style = space
66
insert_final_newline = true
77
max_line_length = 120
88
tab_width = 4
9-
trim_trailing_whitespace = true
9+
trim_trailing_whitespace = false
1010
ij_continuation_indent_size = 8
1111
ij_formatter_off_tag = @formatter:off
1212
ij_formatter_on_tag = @formatter:on
@@ -39,10 +39,6 @@ ij_css_space_before_opening_brace = true
3939
ij_css_use_double_quotes = true
4040
ij_css_value_alignment = do_not_align
4141

42-
[*.haml]
43-
indent_size = 2
44-
ij_haml_keep_indents_on_empty_lines = false
45-
4642
[*.less]
4743
indent_size = 2
4844
ij_less_align_closing_brace_with_properties = false
@@ -232,6 +228,7 @@ ij_typescript_method_parameters_new_line_after_left_paren = false
232228
ij_typescript_method_parameters_right_paren_on_new_line = false
233229
ij_typescript_method_parameters_wrap = off
234230
ij_typescript_object_literal_wrap = on_every_item
231+
ij_typescript_object_types_wrap = on_every_item
235232
ij_typescript_parentheses_expression_new_line_after_left_paren = false
236233
ij_typescript_parentheses_expression_right_paren_on_new_line = false
237234
ij_typescript_place_assignment_sign_on_next_line = false
@@ -407,6 +404,7 @@ ij_javascript_method_parameters_new_line_after_left_paren = false
407404
ij_javascript_method_parameters_right_paren_on_new_line = false
408405
ij_javascript_method_parameters_wrap = off
409406
ij_javascript_object_literal_wrap = on_every_item
407+
ij_javascript_object_types_wrap = on_every_item
410408
ij_javascript_parentheses_expression_new_line_after_left_paren = false
411409
ij_javascript_parentheses_expression_right_paren_on_new_line = false
412410
ij_javascript_place_assignment_sign_on_next_line = false
@@ -501,7 +499,8 @@ ij_javascript_wrap_comments = false
501499
[{*.ctp,*.hphp,*.inc,*.module,*.php,*.php4,*.php5,*.phtml}]
502500
ij_continuation_indent_size = 4
503501
ij_php_align_assignments = true
504-
ij_php_align_class_constants = false
502+
ij_php_align_class_constants = true
503+
ij_php_align_enum_cases = true
505504
ij_php_align_group_field_declarations = false
506505
ij_php_align_inline_comments = true
507506
ij_php_align_key_value_pairs = true
@@ -511,13 +510,13 @@ ij_php_align_multiline_binary_operation = false
511510
ij_php_align_multiline_chained_methods = false
512511
ij_php_align_multiline_extends_list = true
513512
ij_php_align_multiline_for = false
514-
ij_php_align_multiline_parameters = true
513+
ij_php_align_multiline_parameters = false
515514
ij_php_align_multiline_parameters_in_calls = false
516515
ij_php_align_multiline_ternary_operation = false
517516
ij_php_align_named_arguments = true
518517
ij_php_align_phpdoc_comments = false
519518
ij_php_align_phpdoc_param_names = false
520-
ij_php_anonymous_brace_style = next_line
519+
ij_php_anonymous_brace_style = end_of_line
521520
ij_php_api_weight = 28
522521
ij_php_array_initializer_new_line_after_left_brace = true
523522
ij_php_array_initializer_right_brace_on_new_line = true
@@ -533,7 +532,8 @@ ij_php_blank_lines_after_imports = 1
533532
ij_php_blank_lines_after_opening_tag = 1
534533
ij_php_blank_lines_after_package = 1
535534
ij_php_blank_lines_around_class = 1
536-
ij_php_blank_lines_around_constants = 1
535+
ij_php_blank_lines_around_constants = 0
536+
ij_php_blank_lines_around_enum_cases = 0
537537
ij_php_blank_lines_around_field = 1
538538
ij_php_blank_lines_around_method = 1
539539
ij_php_blank_lines_before_class_end = 0
@@ -543,15 +543,16 @@ ij_php_blank_lines_before_package = 1
543543
ij_php_blank_lines_before_return_statement = 1
544544
ij_php_blank_lines_between_imports = 1
545545
ij_php_block_brace_style = end_of_line
546-
ij_php_call_parameters_new_line_after_left_paren = false
547-
ij_php_call_parameters_right_paren_on_new_line = false
546+
ij_php_call_parameters_new_line_after_left_paren = true
547+
ij_php_call_parameters_right_paren_on_new_line = true
548548
ij_php_call_parameters_wrap = on_every_item
549549
ij_php_catch_on_new_line = true
550550
ij_php_category_weight = 28
551551
ij_php_class_brace_style = next_line
552552
ij_php_comma_after_last_argument = false
553553
ij_php_comma_after_last_array_element = true
554554
ij_php_comma_after_last_closure_use_var = false
555+
ij_php_comma_after_last_match_arm = true
555556
ij_php_comma_after_last_parameter = false
556557
ij_php_concat_spaces = true
557558
ij_php_copyright_weight = 4
@@ -561,15 +562,15 @@ ij_php_else_if_style = combine
561562
ij_php_else_on_new_line = true
562563
ij_php_example_weight = 28
563564
ij_php_extends_keyword_wrap = normal
564-
ij_php_extends_list_wrap = off
565+
ij_php_extends_list_wrap = on_every_item
565566
ij_php_fields_default_visibility = protected
566567
ij_php_filesource_weight = 28
567568
ij_php_finally_on_new_line = true
568569
ij_php_for_brace_force = always
569570
ij_php_for_statement_new_line_after_left_paren = false
570571
ij_php_for_statement_right_paren_on_new_line = false
571572
ij_php_for_statement_wrap = normal
572-
ij_php_force_empty_methods_in_one_line = false
573+
ij_php_force_empty_methods_in_one_line = true
573574
ij_php_force_short_declaration_array_style = true
574575
ij_php_getters_setters_naming_style = camel_case
575576
ij_php_getters_setters_order_style = getters_first
@@ -588,13 +589,13 @@ ij_php_keep_blank_lines_after_lbrace = 1
588589
ij_php_keep_blank_lines_before_right_brace = 0
589590
ij_php_keep_blank_lines_in_code = 1
590591
ij_php_keep_blank_lines_in_declarations = 0
591-
ij_php_keep_control_statement_in_one_line = true
592+
ij_php_keep_control_statement_in_one_line = false
592593
ij_php_keep_first_column_comment = false
593594
ij_php_keep_indents_on_empty_lines = false
594595
ij_php_keep_line_breaks = true
595596
ij_php_keep_rparen_and_lbrace_on_one_line = true
596597
ij_php_keep_simple_classes_in_one_line = true
597-
ij_php_keep_simple_methods_in_one_line = false
598+
ij_php_keep_simple_methods_in_one_line = true
598599
ij_php_lambda_brace_style = end_of_line
599600
ij_php_license_weight = 5
600601
ij_php_line_comment_add_space = false
@@ -622,13 +623,13 @@ ij_php_parentheses_expression_right_paren_on_new_line = false
622623
ij_php_phpdoc_blank_line_before_tags = true
623624
ij_php_phpdoc_blank_lines_around_parameters = true
624625
ij_php_phpdoc_keep_blank_lines = true
625-
ij_php_phpdoc_param_spaces_between_name_and_description = 1
626-
ij_php_phpdoc_param_spaces_between_tag_and_type = 1
627-
ij_php_phpdoc_param_spaces_between_type_and_name = 1
626+
ij_php_phpdoc_param_spaces_between_name_and_description = 2
627+
ij_php_phpdoc_param_spaces_between_tag_and_type = 2
628+
ij_php_phpdoc_param_spaces_between_type_and_name = 2
628629
ij_php_phpdoc_use_fqcn = true
629630
ij_php_phpdoc_wrap_long_lines = true
630631
ij_php_place_assignment_sign_on_next_line = false
631-
ij_php_place_parens_for_constructor = 0
632+
ij_php_place_parens_for_constructor = 1
632633
ij_php_property_read_weight = 11
633634
ij_php_property_weight = 10
634635
ij_php_property_write_weight = 12
@@ -705,7 +706,7 @@ ij_php_spaces_within_parentheses = false
705706
ij_php_spaces_within_short_echo_tags = true
706707
ij_php_spaces_within_switch_parentheses = false
707708
ij_php_spaces_within_while_parentheses = false
708-
ij_php_special_else_if_treatment = false
709+
ij_php_special_else_if_treatment = true
709710
ij_php_subpackage_weight = 28
710711
ij_php_ternary_operation_signs_on_next_line = true
711712
ij_php_ternary_operation_wrap = on_every_item
@@ -717,12 +718,12 @@ ij_php_upper_case_boolean_const = false
717718
ij_php_upper_case_null_const = false
718719
ij_php_uses_weight = 28
719720
ij_php_var_weight = 28
720-
ij_php_variable_naming_style = snake_case
721+
ij_php_variable_naming_style = camel_case
721722
ij_php_version_weight = 8
722723
ij_php_while_brace_force = always
723724
ij_php_while_on_new_line = true
724725

725-
[{*.har,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.stylelintrc,bowerrc,composer.lock,jest.config}]
726+
[{*.har,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.prettierrc,.stylelintrc,bowerrc,composer.lock,jest.config}]
726727
ij_continuation_indent_size = 4
727728
ij_json_array_wrapping = on_every_item
728729
ij_json_keep_blank_lines_in_code = 1
@@ -769,11 +770,17 @@ ij_html_space_around_equality_in_attribute = false
769770
ij_html_space_inside_empty_tag = true
770771
ij_html_text_wrap = off
771772

773+
[{*.http,*.rest}]
774+
indent_size = 0
775+
ij_continuation_indent_size = 4
776+
ij_http request_call_parameters_wrap = normal
777+
772778
[{*.markdown,*.md}]
773779
ij_markdown_force_one_space_after_blockquote_symbol = true
774780
ij_markdown_force_one_space_after_header_symbol = true
775781
ij_markdown_force_one_space_after_list_bullet = true
776782
ij_markdown_force_one_space_between_words = true
783+
ij_markdown_format_tables = true
777784
ij_markdown_insert_quote_arrows_on_wrap = true
778785
ij_markdown_keep_indents_on_empty_lines = false
779786
ij_markdown_keep_line_breaks_inside_text_blocks = true

0 commit comments

Comments
 (0)