Does anybody knows if there's a standard formatter...
# compose
f
Does anybody knows if there's a standard formatter for Jetpack Compose? I would like to move from this
Copy code
HomeScreen(
            state = HomeUIState(
            projects = mapOf(
                Platform.Android to emptyArray(), Platform.iOS to emptyArray()
            )
        ), navigateToSettings = {}, navigateToProject = {})
To this (separated parameter lines)
Copy code
HomeScreen(
            state = HomeUIState(
                projects = mapOf(
                    Platform.Android to emptyArray(), Platform.iOS to emptyArray()
                )
            ),
            navigateToSettings = {},
            navigateToProject = {}
        )
I know there's IDE options to set separated lines, etc. But is there any a
.editorconfig
or a standard formatter with the best practices for Compose 🤔
c
#CKS3XG0LS with the compose rules from https://mrmans0n.github.io/compose-rules/ktlint/
❤️ 1