# ktlint reads this. The code style is ktlint's default (ktlint_official)
# with two changes:
# - Lines wrap at 120, detekt's MaxLineLength, so the two checks agree.
#   ktlint_official alone would wrap at 140.
# - @Composable functions are exempt from the lowercase naming rule, because
#   Compose names them like types (PlayerScreen, not playerScreen).
root = true

[*.{kt,kts}]
max_line_length = 120
ktlint_function_naming_ignore_when_annotated_with = Composable
