kotlinter-gradle icon indicating copy to clipboard operation
kotlinter-gradle copied to clipboard

Painless, fast ktlint plugin for Gradle

Results 42 kotlinter-gradle issues
Sort by recently updated
recently updated
newest added

im having trouble to execute installKotlinterPrePushHook in my repository because i have .git repo in parent directory than my project placed it would be nice if kotlinter can find .git...

In some codebases, we were migrating from Spotless to Kotlinter, but still need Spotless to add license headers for kt files, if Kotlinter can support it we'll finally get rid...

Hello, I'm trying to install the git hook using installKotlinterPrePushHook. The problem I have is that .git folder is located in a different directory than gradlew. Because of that when...

Right now there is no way to set the `--debug`, `--baseline`, and `--editorconfig` ktlint flags. it would be great to have that possibility. I'd imagine those being additional properties on...

enhancement

Readme states two ways how to add custom rules ```gradle buildscript { dependencies { classpath files('libs/my-custom-ktlint-rules.jar') classpath 'org.other.ktlint:custom-rules:1.0' } } ``` I'd like to have custom rules as separate module...

Hi, I saw that you have already added a precommit hook, but did not register the task in the plugin. I did this because automatically formatting the code without an...

Looking at the [source code](https://github.com/jeremymailen/kotlinter-gradle/blob/9931d2965ef076100ea2a0bf1f42dfc66d320172/src/main/kotlin/org/jmailen/gradle/kotlinter/tasks/LintTask.kt#L50), running the `lintKotlin` will result in all the sources being checked on each task re-run. To improve the performance, `LintTask` could run against changed files...

When `git push`ing, with the pre-push hook installed, I got this error: ``` .git/hooks/pre-push: line 6: /Users/max/workspace/project-2/gradlew: No such file or directory lintKotlin found problems, running formatKotlin; commit the result...

Any ideas what this is? I see that it's [just a log statement](https://github.com/JetBrains/intellij-community/blob/13de00f66def4fd53683a9497f0c0ad50b95932f/platform/util/src/com/intellij/openapi/diagnostic/Logger.java#L76), but why is this happening? It might have been a change to kotlin 1.7 that did it...