https://kotlinlang.org logo
#ktlint
Title
# ktlint
s

Stylianos Gakis

11/08/2023, 10:11 PM
With some exciting news round Fleet lately, I wonder if ktlint is keeping an eye on how to support that as well going forward. I understand this is probably quite early, but I was just going through the new standard rules for ktlint 1.x and there are quite a few that have notes like “KtLint uses the IntelliJ IDEA
.editorconfig
property
ij_kotlin_allow_trailing_comma_on_call_site
to configure the rule…” which means that there’s potentially some tight coupling with how IntelliJ itself works which may not be true for Fleet? And seeing those just made me wonder this, so here I am asking this question because I’m just curious 😄
w

wakingrufus

11/09/2023, 2:38 PM
i would not be surprised if fleet also respects the same editorconfig property
p

Paul Dingemans

11/15/2023, 7:47 PM
Yeah, same for me. Lets see, wether someone confirms the question in thread below: https://kotlinlang.slack.com/archives/C063G2ZBF8V/p1700077634350049
🙏 1
It is confirmed in the thread that the properties are propagated. So it should work. I am not going to test/verify this explicitly.
s

Stylianos Gakis

11/17/2023, 4:50 PM
Sounds good enough for now yes, thank you for reaching out to them!