editorconfig: init

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-09-06 21:01:51 +05:30
parent 6a3ede9102
commit f73d75dd6a
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

23
.editorconfig Normal file
View file

@ -0,0 +1,23 @@
# https://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{java,kt,kts,xml}]
indent_size = 2
ij_continuation_indent_size = 2
[*.{kt,kts}]
kotlin_imports_layout=ascii
ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL
ij_kotlin_field_annotation_wrap = normal
[*.md]
trim_trailing_whitespace = false