Open eyalgu opened 4 years ago
Hmm looks like there's no published artifact yet and it requires maven 🙃?
Yeah, I would check in a binary
On Wed, Feb 19, 2020, 6:05 PM Yang notifications@github.com wrote:
Hmm looks like there's no published artifact yet and it requires maven 🙃?
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/dropbox/Store/issues/116?email_source=notifications&email_token=AAMUYKLDDG5Z33KBFIY6FHTRDXQPLA5CNFSM4KX6B6UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMKOKGI#issuecomment-588571929, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMUYKK3SGPCIXJNGX2JJMTRDXQPLANCNFSM4KX6B6UA .
ktfmt
is not a full replacement, right? ktlint
is a formatter but also a linter.
@ychescale9 @eyalgu we started publishing artifacts to Maven Central: https://search.maven.org/artifact/com.facebook/ktfmt/0.12/jar
@tasomaniac correct; ktfmt
is a code formatter. It's analogous to google-java-format in the Java world.
https://github.com/diffplug/spotless/pull/569 is bringing ktfmt
to Spotless. I see Store already uses Spotless, so it should be easy to try out ktfmt
.
Yeah it is a good issue, require a discussion for it.
It seems like ktlint keeps triping me up because it doesn't support running as part of the workflow (I make a small change, forget to fix some spacing then get a failure). I'd like to try out https://github.com/facebookincubator/ktfmt. I know the maintainers and would love to give it a try