Skip to content

Commit

Permalink
Add code style configs via .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
ebraminio committed Feb 18, 2024
1 parent 82875c8 commit ca243e4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
max_line_length = 100
tab_width = 4
trim_trailing_whitespace = true

[{*.yml,*.json}]
indent_size = 2

[{*.kt,*.kts}]
insert_final_newline = true
ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL
ij_continuation_indent_size = 8
ij_kotlin_variable_annotation_wrap = off
# Disable wildcard imports
ij_kotlin_name_count_to_use_star_import = 99
ij_kotlin_name_count_to_use_star_import_for_members = 99

0 comments on commit ca243e4

Please sign in to comment.