-
## Expected Behavior
```kt
class Foo {
enum class Unit {
FOO,
BAR,
}
companion object {
fun unitFromString(unit: String): Unit {
re…
-
Bonjour,
I have a GitHub workflow that runs ktlintFormat once a week
but it's super annoying because the smallest error prevent the workflow to work
and for my side I would be happy if ktlintFormat…
-
When using the following configuration:
```
[*.{kt,kts}]
ktlint_code_style=intellij_idea
indent_size=2
continuation_indent_size=2
ij_kotlin_allow_trailing_comma=true
ij_kotlin_allow_trailing_…
-
Using an older version of ktlint and kotlinter because of the intellij plugin for ktlint we are using. So we are using 3.14.0 kotlinter and ktlint 0.48.2. Is it possible to send the ktlint option t…
-
## Expected Behavior
Argument list wrapping rule **ktlint_standard_argument-list-wrapping** do not seem to work.
If I set in `.editorconfig` file the following
```
ktlint_code_style = ktlint_off…
-
When having ktlint 0.20.0-beta-4 enabled on a project and going to the "save actions", unchecking ktlint formatting there, it is disabled completely for the project. This for me is pretty unexpected /…
-
When using latest 6.23.2 version of the gradle plugin, the `kotlinGradle` execution messes up the `kotlin` configuration of build.gradle file.
Here is my configuration:
```
spotless {
isEn…
-
Follow up from https://github.com/diffplug/spotless/issues/409#issuecomment-1107055624
I had been watching the issue around this before, but it was closed after just the first request (experimental…
-
## Expected Behavior
As documented at https://pinterest.github.io/ktlint/1.0.0/rules/code-styles/, using an `.editorconfig` containing this code should _work_ (produce compatibe checks).
```
[*.{…
-
## Expected Behavior
I expect KtLint's fat jar on CLI to add requisite opens to run
## Observed Behavior
It crashes when using JDK 16 or later
```
Caused by: java.lang.reflect.Inacc…