mirror of
https://github.com/pachli/pachli-android.git
synced 2024-12-12 09:09:27 +01:00
a441576bf6
Requiring trailing commas on multi-line lists of items (declarations and call sites) reduces future repository churn when those lines are changed, but introduces additional churn now. Bite the bullet and make the change, as well as adjusting lines that were too long / indented incorrectly. The changes were performed automatically, using the `ktlintFormat` task. Based on https://github.com/tuskyapp/Tusky/pull/3968 by https://github.com/tinsukE
21 lines
472 B
INI
21 lines
472 B
INI
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
indent_size = 4
|
|
indent_style = space
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
|
|
# Disable wildcard imports
|
|
[*.{java,kt}]
|
|
ij_kotlin_name_count_to_use_star_import = 999
|
|
ij_kotlin_name_count_to_use_star_import_for_members = 999
|
|
ij_java_class_count_to_use_import_on_demand = 999
|
|
# Require trailing comma
|
|
ij_kotlin_allow_trailing_comma = true
|
|
ij_kotlin_allow_trailing_comma_on_call_site = true
|
|
|
|
[*.{yml,yaml}]
|
|
indent_size = 2
|