-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
37 lines (26 loc) · 1022 Bytes
/
.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
[*]
ij_any_catch_on_new_line = true
ij_any_finally_on_new_line = true
ij_any_else_on_new_line = true
ij_continuation_indent_size = 4
max_line_length = 200
ij_kotlin_packages_to_use_import_on_demand = 99
[{*.kt,*.kts}]
indent_size = 4
tab_width = 4
# see https://pinterest.github.io/ktlint/rules/configuration-ktlint/#trailing-comma-on-declaration-site
# Only used for declaration site
ij_kotlin_allow_trailing_comma = false
# see https://pinterest.github.io/ktlint/rules/configuration-ktlint/#trailing-comma-on-call-site
ij_kotlin_allow_trailing_comma_on_call_site = false
ij_kotlin_continuation_indent_size = 4
max_line_length = off
ij_any_catch_on_new_line = true
ij_any_finally_on_new_line = true
ij_any_else_on_new_line = true
ktlint_standard_indent = disabled
# disable the goddamned warnings on "else on new line, catch on new line", etc.
ktlint_standard_keyword-spacing = disabled
# allow additional spacing with the parentheses
ktlint_standard_paren-spacing = disabled
ktlint_code_style = intellij_idea