root = true [*] end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true [*.{kt,kts}] indent_style = space indent_size = 4 max_line_length = 120 # Repo convention: one public @Composable per file, named as the file — # composables are PascalCase, so ktlint's function-naming rule must not # demand camelCase for them. (No ktlint rule is disabled repo-wide.) ktlint_function_naming_ignore_when_annotated_with = Composable [*.{rs,toml}] indent_style = space indent_size = 4 [*.{xml,gradle}] indent_style = space indent_size = 4 [Makefile] indent_style = tab