Skip to content

Commit

Permalink
Add editorconfig rules for Kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Dec 3, 2023
1 parent 9a9efd2 commit b6c420e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.{kt,kts}]
ij_kotlin_imports_layout = *
ij_kotlin_allow_trailing_comma = true
ij_kotlin_allow_trailing_comma_on_call_site = true
ij_kotlin_packages_to_use_import_on_demand = unset
ktlint_code_style = intellij_idea

[*.md]
trim_trailing_whitespace = false

Expand Down

0 comments on commit b6c420e

Please sign in to comment.