Skip to content

[FR]: Replace spotless with Ktlint/Ktfmt #2029

@JoseAlcerreca

Description

@JoseAlcerreca

Is there an existing issue for this?

  • I have searched the existing issues

Describe the problem

The spotless plugin is creating some build performance issues.

Describe the solution

We should move to ktlint or ktfmt.

Block just shared a timely post: https://engineering.block.xyz/blog/adopting-ktfmt-and-detekt

Additional context

Note that the alternatives don't support everything spotless does, like checking the copyright headers.

Any feedback is welcome

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions