Open JavierSegoviaCordoba opened 2 years ago
This is indeed possible, but will require an extra pass due to the way Ktfmt is structured (we can't just reorganize tokens).
There might also be some intention in the order of mixing annotations with modifiers, but I can't come up with an example of the top of my head right now.
In the meantime, we recommend using Ktfmt with other linters that fix specific issues.
When modifiers aren't in a specific order, the linter suggests to be sorted, ktfmt could sort them.