macisamuele / language-formatters-pre-commit-hooks

Collection of custom pre-commit hooks.
Apache License 2.0
116 stars 58 forks source link

Unblock ktlint with JDK 17 #122

Closed harti2006 closed 1 year ago

harti2006 commented 1 year ago

Hey together, I'm using this tool for my Kotlin projects and would like to migrate to Java 17 soon. At the moment there is an assertion that ktlint can only be run with Java <16, but I think this is actually obsolete. I was able to run ktlint with Java 17 and even Java 19.

Would you be up to remove this Java constraint in the pre-commit hook?

macisamuele commented 1 year ago

Releasing v2.5.0