Open ftomassetti opened 5 years ago
Probably Detekt with KtLint-based formatting rules enabled?
I just found this discussion, but just as a remark, of course KtLint is way more Kotlin-specific style checks than .editorconfig
, and via Detekt it's also not "a PITA" to configure anymore.
My point for preferring Editorconfig over tools like KTLint (and Detekt) is simplicity, both for the IDE and for build scripts.
With Detekt we're adding layers of additional complexities for simple formatting issues, which we solve nicely with the auto-recognized .editorconfig
file.
Tools like Detekt are generally useful for big teams or a large number of contributors, but in this case we're not at that point and a simple CTRL+ALT+L
(on Windows) fixes everything.
In this way we do not have to review for styles issues