-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
51 lines (43 loc) · 1.15 KB
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = tab
indent_style = tab
insert_final_newline = true
tab_width = 4
ij_smart_tabs = true
ij_continuation_indent_size = 4
max_line_length = 150
# https://www.jetbrains.com/help/idea/editorconfig.html
ij_visual_guides = 80, 120, 150
ij_formatter_tags_enabled = true
ij_formatter_on_tag = @formatter:on
ij_formatter_off_tag = @formatter:off
[*.go]
ij_go_add_leading_space_to_comments = true
ij_go_GROUP_CURRENT_PROJECT_IMPORTS = true
ij_go_group_stdlib_imports = true
ij_go_use_back_quotes_for_imports = false
ij_go_import_sorting = goimports
ij_go_move_all_stdlib_imports_in_one_group = true
ij_go_remove_redundant_import_aliases = true
ij_go_move_all_imports_in_one_declaration = true
ij_go_run_go_fmt_on_reformat = true
ij_go_call_parameters_wrap = on_every_item
[{*.yml,*.yaml}]
indent_style = space
indent_size = 2
tab_width = 2
ij_wrap_on_typing = false
ij_yaml_keep_indents_on_empty_lines = false
[.idea/**.xml]
indent_style = space
indent_size = 2
tab_width = 2
ij_xml_space_inside_empty_tag = true
insert_final_newline = false
[Makefile]
ij_wrap_on_typing = false
[{LICENSE,*.adoc}]
max_line_length = off