Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add KtFmt support (500USD Bounty) #3612

Closed
lihaoyi opened this issue Sep 26, 2024 · 0 comments · Fixed by #3620
Closed

Add KtFmt support (500USD Bounty) #3612

lihaoyi opened this issue Sep 26, 2024 · 0 comments · Fixed by #3620
Labels
Milestone

Comments

@lihaoyi
Copy link
Member

lihaoyi commented Sep 26, 2024


From the maintainer Li Haoyi: I'm putting a 500USD bounty on this issue, payable by bank transfer on a merged PR implementing this.


This ticket is to add support for Kotlin https://github.com/facebook/ktfmt, in the spirit of our existing support for mill.javalib.PalantirFormatModule and mill.scalalib.scalafmt.ScalaFmtModule. We already have KtLint support which does support autoformatting, but KtFmt seems pretty popular so we should support it too.

Like our support for PalantirFormat or ScalaFmt,

  • KtFmt support should come in both a trait that can be mixed into KotlinModules, as well as a standalone external module that can be used on any existing KotlinModules unchanged.
  • Should include unit tests and an example test in example/kotlinlib/linting/ that can be included in the documentation
  • Should expose any relevant configuration on KtFmt that the user may want to override
@lihaoyi lihaoyi added the bounty label Sep 26, 2024
@lefou lefou added this to the 0.12.0-RC3 milestone Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants