-
@aktsay6 @Cheshiriks please find such projects and list them in this issue
-
PsiTestUtil can check AST validity. It can be useful to ensure that we don't break the tree in autofixers
-
Diktat has two internal modules: `diktat-ksp-dev` and `diktat-common-test`. They are not needed in maven central
Also, diktat builds gradle plugin, rulesset for ktlint and cli as fat jar. We can publ…
nulls updated
9 months ago
-
There's a lot of similarity between _Diktat_ and [_Detekt_](https://github.com/detekt/detekt) checks, but the literals they're `@Suppress`'ed with are different, e.g.:
| Diktat | Detekt |
|-------…
-
Need to support the IDEA plugin for diktat application. Can be done in a separate repository.
-
May be we will also add detekt, ktfmt or any other analyzer?
-
## Describe the bug with fix mode
The rule does not work as expected.
In this test, the LONG_LINE rule breaks.
There are also cases when a rule does not break itself, but leads to an error of other…
-
## Describe the bug
Given the following code:
```kotlin
val range: ClosedRange = 0..1
check(!range.isEmpty())
```
Diktat suggests replacing this with the nonexistent `ClosedRange.isNotEmpty()` f…
-
## Describe the bug
Got exception on `./gradlew diktatFix`
```
ERROR: Assertion failed: anchorBefore == null || anchorBefore.getTreeParent() == parent
java.lang.Throwable: Assertion failed: an…
-
We have a separate module `info` which builds documentation for diktat. It has own `buildSrc` and it's a separate gradle project.
Need to integrate to main gradle project to allow to use it as part…
nulls updated
9 months ago