-
```kotlin
fun foo() {
return x +
(y +
foo(x)
)
}
```
Indentation rule tries to place `)` 8 spaces to the left.
-
It actually even isn't compliant with our current code style: we are forcing a line break after `it`, but I thought it looks too ugly. I'll add an issue about making this rule prettier and maybe takin…
-
@kentr0w please describe it's functionality and prepare a POC
-
As @Animeshz mentioned - diktat-analysis.yml is not found on the root by the diktat with a gradle plugin
-
When trying to use diktat 0.1.3 in [diktat-demo](https://github.com/akuleshov7/diktat-demo), I'm facing some issues, because we now use kotlinx.serialization which supports multiplatform, therefore so…
-
## Describe the bug
Incorrect [WRONG_NEWLINES] and [WRONG_INDENTATION] lint warnings generated for [single-expression functions](https://kotlinlang.org/docs/reference/idioms.html#single-expression-fu…
-
-
If there are issues with user's json config, we should report it asap and fail without start of analysis. Possible issues:
* wrong warning names
~* wrong fields in configuration~ moved to #395
~* …
-
The code
```kotlin
when (node.elementType) {
CLASS, FUN, PRIMARY_CONSTRUCTOR, SECONDARY_CONSTRUCTOR -> checkAnnotation(node)
}
```
is being fixed to
```kotlin
when (node.elementTyp…
-
ktlint 0.37.1, diktat 0.1.2
```kotlin
/*
* Copyright (c) Your Company Name Here. 2010-2020
*/
class HttpClient(var name: String) {
var url: String = ""
var port: String =…