Skip to content

Commit

Permalink
Update editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
lazyrainynight committed Feb 24, 2024
1 parent f1b8be9 commit 29e72d2
Showing 1 changed file with 5 additions and 24 deletions.
29 changes: 5 additions & 24 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,13 @@ trim_trailing_whitespace = true
insert_final_newline = true


[*.dart]

indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 120


[*.py]

indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 180
max_line_length = 240


[*.ts]
Expand All @@ -64,24 +55,14 @@ insert_final_newline = true
[*.html]

indent_style = space
indent_size = 2
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true



[*.xml]

indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true



[*.yml]
[*.yaml]

indent_style = space
indent_size = 4
trim_trailing_whitespace = true
Expand Down Expand Up @@ -243,7 +224,7 @@ csharp_preserve_single_line_blocks = true

resharper_blank_lines_around_region = 1
resharper_blank_lines_inside_region = 1
resharper_blank_lines_before_single_line_comment = 1
# resharper_blank_lines_before_single_line_comment = 1
resharper_keep_blank_lines_in_declarations = 1
resharper_remove_blank_lines_near_braces_in_declarations = true
resharper_blank_lines_after_start_comment = 0
Expand Down Expand Up @@ -405,7 +386,7 @@ resharper_keep_existing_arrangement = false
resharper_keep_existing_linebreaks = false
resharper_wrap_before_comma = false
resharper_special_else_if_treatment = true
resharper_max_attribute_length_for_same_line = 200
resharper_max_attribute_length_for_same_line = 240
resharper_keep_existing_attribute_arrangement = false
resharper_place_attribute_on_same_line = false
resharper_place_type_attribute_on_same_line = false
Expand Down Expand Up @@ -449,7 +430,7 @@ resharper_wrap_multiple_declaration_style = chop_if_long
resharper_keep_existing_embedded_arrangement = false
resharper_place_simple_embedded_statement_on_same_line = never
resharper_place_simple_case_statement_on_same_line = never
resharper_keep_existing_embedded_block_arrangement = false
resharper_keep_existing_embedded_block_arrangement = true
resharper_place_simple_embedded_block_on_same_line = false
resharper_place_simple_anonymousmethod_on_single_line = true
resharper_keep_existing_initializer_arrangement = true
Expand Down

0 comments on commit 29e72d2

Please sign in to comment.