https://kotlinlang.org logo
#announcements
Title
# announcements
g

gotoOla

12/05/2019, 10:22 AM
Does anyone know if there exists an "official" editorconfig for kotlin?
s

Sergei Dubrov [JB]

12/05/2019, 11:00 AM
Hi Ola. Did not understand completely your question. Are you asking about EditorConfig plugin?
You can add .editorconfig files to any directory and provide options if you need. If you add this file via "Right Click on folder -> New -> EditorConfig File" you can select an option to add Kotlin-specific formatting options to this file.
g

gotoOla

12/11/2019, 11:35 AM
@Sergei Dubrov [JB] sorry about my question, it was a bit fuzzy. I meant more if there's a good set of rules one could look at. I know e.g. Airbnb has a typescript linter that is widely acknowledged
So the question is really more if anybody knows about a good example
.editorconfig
to start from to get "aligned" with the community? 😛
28 Views