jhipster / jhipster-kotlin

Kotlin based JHipster
https://khipster.dev
Apache License 2.0
448 stars 95 forks source link

Readd ktlint formatting #385

Closed mshima closed 1 month ago

mshima commented 1 month ago

Overview of the issue

ktlint formatting was executed after project was committed, this approach causes problem in regeneration/upgrade. It was disabled due to this problem.

ktlint is an prettier/eslint alternative for Kotlin, so it's nice to have it out of the box. ktlint provides a --stdin option that allows us to have it integrated.

Motivation for or Use Case

Provide a good user experience.

Reproduce the error

Related issues

ktlint takes to long using --stdin option

Link to PR (if any)

KHipster Version(s)