There is a way to inspect what is difference between using ktlint with
--android
and without on a Android kotlin code
b
Brais Gabin
08/10/2020, 9:48 PM
I'm not sure if I understood the question... But you can create a copy of a file, format with each one and then use
diff
to see the difference. Or use git for the diff.
k
khalil
08/11/2020, 12:11 PM
this is a nice approach but i was thinking if there is a way to see the rules or something like that to check the difference, but definitely i will use your approach... thanks!
r
romtsn
08/12/2020, 5:37 AM
The difference is not big at the moment:
• import-ordering will be expecting “ascii” order (without exceptions) if not overridden in editor config
• max-line-length will be set to 100 if it’s not set