Skip to content

Commit 128992c

Browse files
author
Andrey Helldar
committed
Updated .editorconfig
1 parent 8b0dd79 commit 128992c

File tree

1 file changed

+39
-22
lines changed

1 file changed

+39
-22
lines changed

.editorconfig

Lines changed: 39 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ end_of_line = lf
44
indent_size = 4
55
indent_style = space
66
insert_final_newline = true
7-
max_line_length = 160
7+
max_line_length = 180
88
tab_width = 4
99
trim_trailing_whitespace = true
1010
ij_continuation_indent_size = 8
@@ -25,9 +25,9 @@ ij_css_blank_lines_around_nested_selector = 1
2525
ij_css_blank_lines_between_blocks = 1
2626
ij_css_brace_placement = end_of_line
2727
ij_css_enforce_quotes_on_format = false
28-
ij_css_hex_color_long_format = false
28+
ij_css_hex_color_long_format = true
2929
ij_css_hex_color_lower_case = false
30-
ij_css_hex_color_short_format = true
30+
ij_css_hex_color_short_format = false
3131
ij_css_hex_color_upper_case = true
3232
ij_css_keep_blank_lines_in_code = 1
3333
ij_css_keep_indents_on_empty_lines = false
@@ -38,6 +38,13 @@ ij_css_space_before_opening_brace = true
3838
ij_css_use_double_quotes = true
3939
ij_css_value_alignment = do_not_align
4040

41+
[*.csv]
42+
max_line_length = 2147483647
43+
ij_csv_wrap_long_lines = false
44+
45+
[*.dart]
46+
max_line_length = 80
47+
4148
[*.haml]
4249
indent_size = 2
4350
ij_haml_keep_indents_on_empty_lines = false
@@ -49,10 +56,10 @@ ij_less_blank_lines_around_nested_selector = 1
4956
ij_less_blank_lines_between_blocks = 1
5057
ij_less_brace_placement = 0
5158
ij_less_enforce_quotes_on_format = false
52-
ij_less_hex_color_long_format = false
59+
ij_less_hex_color_long_format = true
5360
ij_less_hex_color_lower_case = false
5461
ij_less_hex_color_short_format = false
55-
ij_less_hex_color_upper_case = false
62+
ij_less_hex_color_upper_case = true
5663
ij_less_keep_blank_lines_in_code = 2
5764
ij_less_keep_indents_on_empty_lines = false
5865
ij_less_keep_single_line_blocks = false
@@ -88,9 +95,9 @@ ij_scss_blank_lines_around_nested_selector = 1
8895
ij_scss_blank_lines_between_blocks = 1
8996
ij_scss_brace_placement = 0
9097
ij_scss_enforce_quotes_on_format = true
91-
ij_scss_hex_color_long_format = false
98+
ij_scss_hex_color_long_format = true
9299
ij_scss_hex_color_lower_case = false
93-
ij_scss_hex_color_short_format = true
100+
ij_scss_hex_color_short_format = false
94101
ij_scss_hex_color_upper_case = true
95102
ij_scss_keep_blank_lines_in_code = 1
96103
ij_scss_keep_indents_on_empty_lines = false
@@ -115,7 +122,6 @@ ij_vue_interpolation_new_line_before_end_delimiter = true
115122
ij_vue_interpolation_wrap = off
116123
ij_vue_keep_indents_on_empty_lines = false
117124
ij_vue_spaces_within_interpolation_expressions = true
118-
ij_vue_uniform_indent = true
119125

120126
[.editorconfig]
121127
ij_editorconfig_align_group_field_declarations = false
@@ -317,6 +323,7 @@ ij_shell_keep_column_alignment_padding = false
317323
ij_shell_minify_program = false
318324
ij_shell_redirect_followed_by_space = false
319325
ij_shell_switch_cases_indented = false
326+
ij_shell_use_unix_line_separator = true
320327

321328
[{*.cjs,*.js}]
322329
ij_continuation_indent_size = 4
@@ -490,6 +497,7 @@ ij_php_align_class_constants = false
490497
ij_php_align_group_field_declarations = false
491498
ij_php_align_inline_comments = true
492499
ij_php_align_key_value_pairs = true
500+
ij_php_align_match_arm_bodies = false
493501
ij_php_align_multiline_array_initializer_expression = true
494502
ij_php_align_multiline_binary_operation = false
495503
ij_php_align_multiline_chained_methods = false
@@ -498,6 +506,7 @@ ij_php_align_multiline_for = false
498506
ij_php_align_multiline_parameters = false
499507
ij_php_align_multiline_parameters_in_calls = false
500508
ij_php_align_multiline_ternary_operation = false
509+
ij_php_align_named_arguments = false
501510
ij_php_align_phpdoc_comments = false
502511
ij_php_align_phpdoc_param_names = false
503512
ij_php_anonymous_brace_style = end_of_line
@@ -529,7 +538,7 @@ ij_php_block_brace_style = end_of_line
529538
ij_php_call_parameters_new_line_after_left_paren = false
530539
ij_php_call_parameters_right_paren_on_new_line = false
531540
ij_php_call_parameters_wrap = normal
532-
ij_php_catch_on_new_line = true
541+
ij_php_catch_on_new_line = false
533542
ij_php_category_weight = 28
534543
ij_php_class_brace_style = next_line
535544
ij_php_comma_after_last_array_element = true
@@ -544,7 +553,7 @@ ij_php_extends_keyword_wrap = normal
544553
ij_php_extends_list_wrap = off
545554
ij_php_fields_default_visibility = protected
546555
ij_php_filesource_weight = 28
547-
ij_php_finally_on_new_line = true
556+
ij_php_finally_on_new_line = false
548557
ij_php_for_brace_force = always
549558
ij_php_for_statement_new_line_after_left_paren = false
550559
ij_php_for_statement_right_paren_on_new_line = false
@@ -554,9 +563,9 @@ ij_php_getters_setters_naming_style = camel_case
554563
ij_php_getters_setters_order_style = getters_first
555564
ij_php_global_weight = 28
556565
ij_php_group_use_wrap = on_every_item
557-
ij_php_if_brace_force = always
558-
ij_php_if_lparen_on_next_line = false
559-
ij_php_if_rparen_on_next_line = false
566+
ij_php_if_brace_force = if_multiline
567+
ij_php_if_lparen_on_next_line = true
568+
ij_php_if_rparen_on_next_line = true
560569
ij_php_ignore_weight = 28
561570
ij_php_import_sorting = alphabetic
562571
ij_php_indent_break_from_case = true
@@ -576,8 +585,8 @@ ij_php_keep_simple_classes_in_one_line = true
576585
ij_php_keep_simple_methods_in_one_line = false
577586
ij_php_lambda_brace_style = end_of_line
578587
ij_php_license_weight = 28
579-
ij_php_line_comment_add_space = false
580-
ij_php_line_comment_at_first_column = true
588+
ij_php_line_comment_add_space = true
589+
ij_php_line_comment_at_first_column = false
581590
ij_php_link_weight = 2
582591
ij_php_lower_case_boolean_const = true
583592
ij_php_lower_case_keywords = true
@@ -617,6 +626,7 @@ ij_php_see_weight = 1
617626
ij_php_since_weight = 28
618627
ij_php_sort_phpdoc_elements = true
619628
ij_php_space_after_colon = true
629+
ij_php_space_after_colon_in_enum_backed_type = true
620630
ij_php_space_after_colon_in_named_argument = true
621631
ij_php_space_after_colon_in_return_type = true
622632
ij_php_space_after_comma = true
@@ -631,6 +641,7 @@ ij_php_space_before_catch_parentheses = true
631641
ij_php_space_before_class_left_brace = true
632642
ij_php_space_before_closure_left_parenthesis = true
633643
ij_php_space_before_colon = true
644+
ij_php_space_before_colon_in_enum_backed_type = false
634645
ij_php_space_before_colon_in_named_argument = false
635646
ij_php_space_before_colon_in_return_type = false
636647
ij_php_space_before_comma = false
@@ -648,7 +659,7 @@ ij_php_space_before_method_call_parentheses = false
648659
ij_php_space_before_method_left_brace = true
649660
ij_php_space_before_method_parentheses = false
650661
ij_php_space_before_quest = true
651-
ij_php_space_before_short_closure_left_parenthesis = false
662+
ij_php_space_before_short_closure_left_parenthesis = true
652663
ij_php_space_before_switch_left_brace = true
653664
ij_php_space_before_switch_parentheses = true
654665
ij_php_space_before_try_left_brace = true
@@ -659,13 +670,14 @@ ij_php_space_before_while_parentheses = true
659670
ij_php_space_between_ternary_quest_and_colon = false
660671
ij_php_spaces_around_additive_operators = true
661672
ij_php_spaces_around_arrow = false
662-
ij_php_spaces_around_assignment_in_declare = true
673+
ij_php_spaces_around_assignment_in_declare = false
663674
ij_php_spaces_around_assignment_operators = true
664675
ij_php_spaces_around_bitwise_operators = true
665676
ij_php_spaces_around_equality_operators = true
666677
ij_php_spaces_around_logical_operators = true
667678
ij_php_spaces_around_multiplicative_operators = true
668679
ij_php_spaces_around_null_coalesce_operator = true
680+
ij_php_spaces_around_pipe_in_union_type = false
669681
ij_php_spaces_around_relational_operators = true
670682
ij_php_spaces_around_shift_operators = true
671683
ij_php_spaces_around_unary_operator = false
@@ -712,6 +724,7 @@ ij_json_wrap_long_lines = false
712724

713725
[{*.htm,*.html,*.sht,*.shtm,*.shtml}]
714726
ij_continuation_indent_size = 4
727+
ij_visual_guides = 160
715728
ij_html_add_new_line_before_tags = body,div,p,form,h1,h2,h3
716729
ij_html_align_attributes = false
717730
ij_html_align_text = false
@@ -735,9 +748,8 @@ ij_html_quote_style = double
735748
ij_html_remove_new_line_before_tags = br
736749
ij_html_space_after_tag_name = false
737750
ij_html_space_around_equality_in_attribute = false
738-
ij_html_space_inside_empty_tag = false
751+
ij_html_space_inside_empty_tag = true
739752
ij_html_text_wrap = off
740-
ij_html_uniform_ident = false
741753

742754
[{*.markdown,*.md}]
743755
ij_markdown_force_one_space_after_blockquote_symbol = true
@@ -749,12 +761,17 @@ ij_markdown_max_lines_around_block_elements = 1
749761
ij_markdown_max_lines_around_header = 1
750762
ij_markdown_max_lines_between_paragraphs = 1
751763
ij_markdown_min_lines_around_block_elements = 1
752-
ij_markdown_min_lines_around_header = 1
764+
ij_markdown_min_lines_around_header = 2
753765
ij_markdown_min_lines_between_paragraphs = 1
754766

755-
[{*.yaml,*.yml}]
767+
[{*.yaml,*.yml,.analysis_options}]
768+
ij_yaml_align_values_properties = do_not_align
769+
ij_yaml_autoinsert_sequence_marker = true
770+
ij_yaml_block_mapping_on_new_line = false
771+
ij_yaml_indent_sequence_value = true
756772
ij_yaml_keep_indents_on_empty_lines = false
757773
ij_yaml_keep_line_breaks = true
758-
ij_yaml_space_before_colon = true
774+
ij_yaml_sequence_on_new_line = true
775+
ij_yaml_space_before_colon = false
759776
ij_yaml_spaces_within_braces = true
760777
ij_yaml_spaces_within_brackets = true

0 commit comments

Comments
 (0)