it would be nice to be able to format the projects code from gradle or as a git hook when checking in, just wondering if anyone is doing this, I know you can use ktlint but looking for something that would use the same format as the intellij formatter, merry Christmas everyone 🎅
🧵 4
c
Colton Idle
12/29/2022, 7:43 AM
I've been using ktfmt and im very happy with it because it can run as a commit hook and on CI, and its deteministic (unlike other formatters)
Colton Idle
12/29/2022, 7:43 AM
#ktfmt
n
nicholasnet
12/30/2022, 1:56 PM
You can use spotless that does what you are asking for