mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-17 02:15:17 +08:00
15 lines
721 B
INI
15 lines
721 B
INI
# For ktlint configuration. Ref: https://ktlint.github.io/
|
|
|
|
[*.{kt,kts}]
|
|
# possible values: number (e.g. 2), "unset" (makes ktlint ignore indentation completely)
|
|
indent_size=unset
|
|
# true (recommended) / false
|
|
insert_final_newline=true
|
|
# possible values: number (e.g. 120) (package name, imports & comments are ignored), "off"
|
|
# it's automatically set to 100 on `ktlint --android ...` (per Android Kotlin Style Guide)
|
|
max_line_length=off
|
|
|
|
# From https://github.com/pinterest/ktlint#custom-ktlint-specific-editorconfig-properties
|
|
# default IntelliJ IDEA style, same as alphabetical, but with "java", "javax", "kotlin" and alias imports in the end of the imports list
|
|
ij_kotlin_imports_layout=*,java.**,javax.**,kotlin.**,^
|