Files
lawnchair/.editorconfig
Zongle Wang a463fe905a Tweak Ktlint rules (#5141)
* Revert "Fix style"

This reverts commit 7a4d119afa.

* Revert "Spotless 7.0.0"

This reverts commit 3398fce454.

* Tweak rules

* Bump Spotless to 7.0.1

* Reformat again

* Update plugin com.diffplug.spotless to v7.0.1

* Fix by ktlnt cli

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 09:50:43 +00:00

32 lines
826 B
INI

root = true
[*]
charset = utf-8
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.java]
# Don't trim spaces in AOSP code.
trim_trailing_whitespace = false
[*.{kt,kts}]
ij_kotlin_imports_layout = *
ij_kotlin_allow_trailing_comma = true
ij_kotlin_allow_trailing_comma_on_call_site = true
ij_kotlin_name_count_to_use_star_import = 999
ij_kotlin_name_count_to_use_star_import_for_members = 999
ij_kotlin_packages_to_use_import_on_demand = unset
ktlint_code_style = intellij_idea
ktlint_function_naming_ignore_when_annotated_with = Composable
ktlint_standard_discouraged-comment-location = disabled
ktlint_standard_function-expression-body = disabled
ktlint_compose_lambda-param-event-trailing = disabled
[*.md]
trim_trailing_whitespace = false
[*.{yml,yaml}]
indent_size = 2