fix: Use consistent formatter settings between IntelliJ and Android Studio

This commit is contained in:
LisoUseInAIKyrios 2024-04-01 01:33:56 +04:00
parent 530ba18364
commit e56fdf1cfe

View File

@ -1,3 +1,17 @@
[*]
max_line_length = off
[*.java]
ij_java_imports_layout = $*,|,java.**,|,javax.**,|,org.**,|,net.**,|,com.**,|,*
[*.{kt,kts}]
ktlint_code_style = intellij_idea
ktlint_standard_no-wildcard-imports = disabled
# ktlint entries are for ktlint gradle task and ktlint Intellij / Android Studio plugin.
# Ignore all 'property not supported' warnings, these are correct.
ktlint_code_style = android_studio
ktlint_standard_discouraged-comment-location = disabled
ktlint_standard_no-wildcard-imports = disabled
ij_kotlin_imports_layout=*
ij_kotlin_name_count_to_use_star_import = 5
ij_kotlin_name_count_to_use_star_import_for_members = 5
ij_kotlin_allow_trailing_comma_on_call_site = false
ij_kotlin_allow_trailing_comma = false