mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-25 04:24:20 +00:00
Add .editorconfig file
This commit is contained in:
parent
4bd14da04c
commit
0c6907a9da
1 changed files with 70 additions and 0 deletions
70
.editorconfig
Normal file
70
.editorconfig
Normal file
|
@ -0,0 +1,70 @@
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = tab
|
||||||
|
insert_final_newline = false
|
||||||
|
max_line_length = 160
|
||||||
|
tab_width = 4
|
||||||
|
ij_continuation_indent_size = 8
|
||||||
|
ij_formatter_off_tag = @formatter:off
|
||||||
|
ij_formatter_on_tag = @formatter:on
|
||||||
|
ij_formatter_tags_enabled = true
|
||||||
|
ij_smart_tabs = true
|
||||||
|
ij_visual_guides =
|
||||||
|
ij_wrap_on_typing = false
|
||||||
|
|
||||||
|
[*.rs]
|
||||||
|
max_line_length = 120
|
||||||
|
ij_continuation_indent_size = 4
|
||||||
|
ij_smart_tabs = false
|
||||||
|
ij_rust_align_multiline_chained_methods = false
|
||||||
|
ij_rust_align_multiline_parameters = true
|
||||||
|
ij_rust_align_multiline_parameters_in_calls = false
|
||||||
|
ij_rust_align_ret_type = true
|
||||||
|
ij_rust_align_type_params = false
|
||||||
|
ij_rust_align_where_bounds = true
|
||||||
|
ij_rust_align_where_clause = false
|
||||||
|
ij_rust_allow_one_line_match = false
|
||||||
|
ij_rust_block_comment_at_first_column = false
|
||||||
|
ij_rust_indent_where_clause = false
|
||||||
|
ij_rust_keep_blank_lines_in_code = 2
|
||||||
|
ij_rust_keep_blank_lines_in_declarations = 2
|
||||||
|
ij_rust_keep_first_column_comment = false
|
||||||
|
ij_rust_keep_indents_on_empty_lines = true
|
||||||
|
ij_rust_keep_line_breaks = true
|
||||||
|
ij_rust_line_comment_add_space = true
|
||||||
|
ij_rust_line_comment_at_first_column = false
|
||||||
|
ij_rust_min_number_of_blanks_between_items = 0
|
||||||
|
ij_rust_new_line_after_where = true
|
||||||
|
ij_rust_preserve_end_of_line_comments_on_the_same_line = true
|
||||||
|
ij_rust_preserve_punctuation = false
|
||||||
|
ij_rust_spaces_around_assoc_type_binding = false
|
||||||
|
ij_rust_where_on_new_line = true
|
||||||
|
|
||||||
|
[{*.cfg,*.toml,Cargo.lock,Cargo.toml.orig,Gopkg.lock,Pipfile,poetry.lock}]
|
||||||
|
ij_continuation_indent_size = 4
|
||||||
|
ij_smart_tabs = false
|
||||||
|
ij_toml_keep_indents_on_empty_lines = true
|
||||||
|
|
||||||
|
[{*.markdown,*.md}]
|
||||||
|
ij_continuation_indent_size = 4
|
||||||
|
ij_smart_tabs = false
|
||||||
|
ij_markdown_force_one_space_after_blockquote_symbol = true
|
||||||
|
ij_markdown_force_one_space_after_header_symbol = true
|
||||||
|
ij_markdown_force_one_space_after_list_bullet = true
|
||||||
|
ij_markdown_force_one_space_between_words = true
|
||||||
|
ij_markdown_format_tables = true
|
||||||
|
ij_markdown_insert_quote_arrows_on_wrap = true
|
||||||
|
ij_markdown_keep_indents_on_empty_lines = true
|
||||||
|
ij_markdown_keep_line_breaks_inside_text_blocks = true
|
||||||
|
ij_markdown_max_lines_around_block_elements = 1
|
||||||
|
ij_markdown_max_lines_around_header = 1
|
||||||
|
ij_markdown_max_lines_between_paragraphs = 0
|
||||||
|
ij_markdown_min_lines_around_block_elements = 2
|
||||||
|
ij_markdown_min_lines_around_header = 2
|
||||||
|
ij_markdown_min_lines_between_paragraphs = 2
|
||||||
|
ij_markdown_wrap_text_if_long = true
|
||||||
|
ij_markdown_wrap_text_inside_blockquotes = true
|
Loading…
Reference in a new issue