-
[Compose rules](https://github.com/mrmans0n/compose-rules) doesn't work inside the plugin.
Compose rule version jar: [v0.3.13](https://github.com/mrmans0n/compose-rules/releases/tag/v0.3.13)
Andro…
-
In the ktlint documentation, the Configuration setting corresponding to many rules is empty. I don’t know what it should be set in the editorconfig and what its key is.
that is good:
![image](http…
-
## Expected Behavior
The ktlint Check should pass for the variable declaration like given below (given that I have disabled `ktlint_standard_max-line-length = disabled` in the .editorconfig f…
-
I created a baseline file from the below command,
`ktlint --baseline=ktlint-baseline.xml`
and I could see no errors are reported if I run it again since there are no changes against the baseline f…
-
Let's have `.editorconfig'
```
[*.{kt,kts}]
max_line_length=40
```
and Kotlin file:
```
val string1 =
"a very very very very very long string literal"
val string2 = "a very very ver…
-
The `multiline-if-else` rule (https://pinterest.github.io/ktlint/latest/rules/standard/#multiline-if-else) currently disallows both styles:
```kt
if (foo)
bar
else
baz
```
```kt
if…
-
## Expected Behavior
The following code
```
fun getList(): List {
return listOf(
1,
2, 3,
)
}
```
should be unchanged after formatting given the .editorconfig below…
-
I remember being able to run the ktlint formatter from the Quick Fixes menu (`Alt + Enter` | `Option + Enter`) on code highlighted by the plugin.
I would expect the Manual mode to allow this, but i…
-
the idea of a lint setting where "trailing commas" are allowed (assuming the language doesn't care) allows changes like this to create one `+1` in the diff instead of a `-1 +2`
Kotlin supports it s…
-
Subscribe to this issue and stay notified about new [daily trending repos in Kotlin](https://github.com/trending/kotlin?since=daily).