-
I've tried running `./gradlew ktlintCheck` and got this error:
```shell
% ./gradlew ktlintCheck
> Task :runKtlintCheckOverMainSourceSet FAILED
FAILURE: Build failed with an exception.
* Wha…
-
## Expected Behavior
Input is valid. Class body is correctly indented. Final brace is aligned with class opener.
Maybe the `SuperClass(primaryParam) {` line indented, but not the whole body. Intelli…
-
In case if code (somehow) has compilation issues (e.g. after merge conflicts), running `lintKotlin` will give this error:
```
lint worker execution error
com.pinterest.ktlint.core.api.KtLintParse…
-
Currently it is not possible to create different reporter with the same parser: only the last definition will be used:
```
violationConfigs: [
[pattern: ".*/reports/lint-results-.*\\.xml\$"…
-
I use vscode-insider and I download vscode-kotlin-formatter. After extension is reloaded . I created some blank pages and saved .kt file . Code wasnt formatted at all. I tested ktlint with
`ktlint…
-
Hi,
I'm trying to change the report output directory, but I'm getting an error when I include the configuration on my grade file:
```
plugins {
id "org.jlleitschuh.gradle.ktlint" version "…
-
Is this related to #549 in context of a "dev init"?
Do not let quality checks be a speed barrier for red-green-refactor.
Make them a barrier to pushing problems to others.
Discuss breaking up the bui…
-
I think of adding `targets` to plugin option so if `build` and `test` not present in the `project.json` or the `project.json` is not present. This will be added automatically:
```
{
"targets": …
-
Hi, I'm using this plugin and following the instructions, I've added the following to my Groovy build.gradle file:
```
ktlint {
reporters {
reporter(org.jlleitschuh.gradle.ktlint.rep…
-
When I use the extension, it occurs the error `:1:1: File must end with a newline (\n) (final-newline)`. But ktlint works fine if I use it in my shell.
```Shell
$ java -jar .\ktlint -F
Pic…