-
## Expected Behavior
ktlint should not crash
## Observed Behavior
ktlint crashes
## Steps to Reproduce
```kotlin
fun foo(block: () -> Unit): Unit = foo { -> block() }
``…
-
All tests marked as `@Disabled("https://github.com/saveourtool/diktat/issues/1737")`
Some of them can fail is due to multiply runs, another -- due to modification of AST tree (limitation of kotlin …
nulls updated
10 months ago
-
If a user accidentally clicks "Disable ktlint", it would be nice to be able to Ctrl+Z or click a button on a popup to quickly cancel.
![image](https://user-images.githubusercontent.com/394812/10695…
-
(From https://github.com/detekt/detekt/issues/6615)
## Expected Behavior
I have a class like this:
```
enum class Foo {
FOO,
BAR,
;
fun foo() = Unit
}
```
This should not …
-
```
Unexpected error while running detekt analysis
Location: java.base/java.util.ServiceLoader.fail(ServiceLoader.java:593)
The original exception message was: org.slf4j.spi.SLF4JServiceProvider:…
-
When starting IntelliJ (version 2023.2.5 Ultimate) with the Ktlint plugin version 0.20.0-beta3 installed, the following exception occurs:
`java.lang.IllegalStateException: Must not start write action…
-
## Expected Behavior
I'd like `ktlint` to preserve line breaks in a function definition expression body. That is, allow `fun foo... =` to preserve the line break for the following function definiti…
-
### SQLDelight Version
2.0.1
### Operating System
MacOs
### Gradle Version
8.2.0
### Kotlin Version
1.9.21
### Dialect
?
### AGP Version
_No response_
### Describe the Bug
In my KMM proje…
-
I just installed the latest 2023.3 Beta version.
Unfortunately, your plugin is one of three I use that is not declared compatible with it.
Would be great if you could release a compatible version.
-
When adding `ktlint_code_style = official` or `ktlint_code_style = android` to `.editorconfig`, the plugin crashes with the following exception:
```
com.intellij.diagnostic.PluginException: annota…