Skip to content

Add ktlint-configuration-report task to report ktlint configurations #661

@JLLeitschuh

Description

@JLLeitschuh

We get quite a few issues that are maybe rooted in ktlint, and maybe roote in ktlint-gradle. Adding a reporting task that communicates information like "this is what we sent to ktlint" and "this is what ktlint interpreted that to mean", would help with debugging these issues and hopefully give end-users the tools to figure out problems themselves instead of asking us.

Related:

Information ideally provided:

  • Listing the .editorconfig file was actually resolved and is being used
  • What setting has ktlint actually read from that .editorconfig file
  • A summary of the paths the .editorconfig file was applied to

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions