-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Expand file tree
/
Copy path.editorconfig
More file actions
57 lines (45 loc) · 1.69 KB
/
.editorconfig
File metadata and controls
57 lines (45 loc) · 1.69 KB
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
root = true
[*]
end_of_line = lf
indent_style = space
indent_size = 2
ij_continuation_indent_size = 2
max_line_length = 140
tab_width = 2
ij_any_else_on_new_line = true
ij_any_catch_on_new_line = true
ij_any_finally_on_new_line = true
ij_any_block_comment_at_first_column = false
ij_any_line_comment_at_first_column = false
ij_javascript_force_semicolon_style = true
ij_javascript_use_semicolon_after_statement = false
;======Java=====
[*.java]
; IJI-3282 Disable star imports in monorepo code style
ij_java_class_count_to_use_import_on_demand = 9999
ij_java_names_count_to_use_import_on_demand = 9999
ij_java_packages_to_use_import_on_demand =
;======Java=====
;======Kotlin=====
[{*.kt,*.kts}]
ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL
ij_kotlin_else_on_new_line = true
ij_kotlin_while_on_new_line = true
ij_kotlin_catch_on_new_line = true
ij_kotlin_finally_on_new_line = true
ij_kotlin_line_break_after_multiline_when_entry = false
; should break, but it is not configurable for now
ij_kotlin_align_multiline_binary_operation = true
ij_kotlin_align_multiline_parameters_in_calls = true
ij_kotlin_align_multiline_extends_list = true
; so that a comma is appended to the multiline function parameter list
ij_kotlin_allow_trailing_comma = true
; the official styleguide forces newlines and we don't want to reformat the whole repo
ij_kotlin_call_parameters_right_paren_on_new_line = unset
ij_kotlin_call_parameters_new_line_after_left_paren = unset
ij_kotlin_if_rparen_on_new_line = unset
; IJI-3282 Disable star imports in monorepo code style
ij_kotlin_name_count_to_use_star_import = 9999
ij_kotlin_name_count_to_use_star_import_for_members = 9999
ij_kotlin_packages_to_use_import_on_demand =
;=====Kotlin=====