Alexander Frolov
Alexander Frolov
Here is an example: ``` fun test() { val foo = (hasExplicitNotUnitReturnType || isFunWithExpressionBody && !hasExplicitUnitReturnType && hasNotExpressionBodyTypes) && !hasReturnKdoc && !isReferenceExpressionWithSameName } ``` which is transformed to this code...
We should add a new rule that prohibits names like `val string: String` or `var int: Int`.
It might be nice to sort `implementation`s, `testImplementation`s, `api`s and so on the same way as it is done with `import`s.
## Describe the bug Got exception on `./gradlew diktatFix` ``` ERROR: Assertion failed: anchorBefore == null || anchorBefore.getTreeParent() == parent java.lang.Throwable: Assertion failed: anchorBefore == null || anchorBefore.getTreeParent() == parent...
In SAVE we use react wrappers for Kotlin/JS. There, all the default HTML tags are fields of `ReactHTML` object. When copy-paste, `div` tag becomes `ReactHTML.div`, which is unacceptable :) We...
We need to support ignoring `EMPTY_BLOCK_STRUCTURE_ERROR` by passing special configuration through `diktat-analysis.yml`
It might be a good idea to implement feature of detecting rule suppresses that could be removed e.g. this code: ```kotlin @Suppress("TYPE_ALIAS") //
## Needs to be tested on cluster ### What's done: * Added `neo4j-browser` configuration to `values.yaml` * Removed `neo4j-browser` configuration from `application.yml` of `api-gateway` * Moved routing configuration for `neo4j-browser`...
Visuals should be reworked. Let's leave it as is for this PR in order to add functionality, but the next PR should improve styles _Originally posted by @sanyavertolet in https://github.com/saveourtool/save-cloud/pull/2247#pullrequestreview-1502752991_
Right now only owner and super admins can edit vulnerability data (except timeline, but it will be fixed soon). The point is that it is a good idea to allow...