-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
63 lines (52 loc) · 1.41 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
52
53
54
55
56
57
58
59
60
61
62
63
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
ij_visual_guides = 80, 120
ij_formatter_tags_enabled = true
ij_formatter_on_tag = @formatter:on
ij_formatter_off_tag = @formatter:off
[*.json]
ij_json_keep_indents_on_empty_lines = false
ij_json_keep_line_breaks = false
ij_json_wrap_long_lines = false
[*.proto]
ij_protobuf_blank_lines_after_imports = 1
ij_protobuf_blank_lines_after_package = 1
ij_protobuf_keep_indents_on_empty_lines = false
ij_protobuf_spaces_around_assignment_operators = true
[*.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]
tab_width = 2
indent_style = space
ij_wrap_on_typing = false
ij_yaml_keep_indents_on_empty_lines = false
[*.sh]
ij_shell_binary_ops_start_line = true
[*.mock.go]
indent_style = unset
max_line_length = unset
[.github/**/*.yml]
tab_width = 2
indent_size = tab
max_line_length = unset
[{LICENSE,*.adoc}]
max_line_length = unset
ij_wrap_on_typing = false