Skip to content

Commit f23bd04

Browse files
authored
Update editorconfig to match ktfmt (#912)
I took some options from here: https://github.com/facebook/ktfmt/blob/main/docs/editorconfig/.editorconfig-google I can copy all of them if we think it makes sense.
1 parent 12c6d4b commit f23bd04

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.editorconfig

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@ root = true
22

33
[*]
44
indent_style = space
5-
indent_size = 4
5+
indent_size = 2
66
end_of_line = lf
77
charset = utf-8
88
trim_trailing_whitespace = true
99
insert_final_newline = true
10+
max_line_length = 100
11+
ij_continuation_indent_size = 4
12+
ij_java_names_count_to_use_import_on_demand = 9999
13+
ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL
1014

1115
[*.md]
1216
trim_trailing_whitespace = false

0 commit comments

Comments
 (0)