I am wondering how coroutines team handles code-st...
# coroutines
g
I am wondering how coroutines team handles code-style, are they using an auto-formatter linter or simply using intelij? Does anyone know? Imo The codebase is pretty consistent
Checking through the repo I cannot find any linter. So I am pretty curious about their workflow
a
in the .idea folder it's configured to use the project local code style, which in turn is configured to default to the Kotlin defaults https://github.com/Kotlin/kotlinx.coroutines/blob/1bffe67a32d9d0285320f5b23fa94bc2b5f2b92e/.idea/codeStyles/Project.xml#L9
d
Didn't know about that! I guess this just configures the builtin IntelliJ formatted and doesn't have any relation with ktlint, right?
👌 1
g
Thanks for the info !! I guess the downside is that someone has to configure manually for IntelliJ to always auto - format during commit?
👌 1