mirror of
https://github.com/tuskyapp/Tusky
synced 2024-12-22 06:55:53 +01:00
5192fb08a5
There are some new rules, I think they mostly make sense, except for the max line length which I had to disable because we are over it in a lot of places. --------- Co-authored-by: Goooler <wangzongler@gmail.com>
28 lines
590 B
INI
28 lines
590 B
INI
root = true
|
|
|
|
[*]
|
|
charset = utf-8
|
|
indent_size = 4
|
|
indent_style = space
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
|
|
[*.{java,kt}]
|
|
ij_kotlin_imports_layout = *
|
|
|
|
# Disable wildcard imports
|
|
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
|
|
|
|
ktlint_code_style = android_studio
|
|
|
|
# Disable trailing comma
|
|
ktlint_standard_trailing-comma-on-call-site = disabled
|
|
ktlint_standard_trailing-comma-on-declaration-site = disabled
|
|
|
|
max_line_length = off
|
|
|
|
[*.{yml,yaml}]
|
|
indent_size = 2
|