-
The following applies to running ktlint+diktat in comand line:
ktlint executalbe jar bundles logback, but doesn't have any config file. Ktlint sets logging level programmatically, but only for a pa…
-
## Describe the bug
I sometime use `throw` inside a `try catch` when I feel like it makes sense, for example to do extra verifications on user input (see example below).
## Expected behavior
Do n…
-
Diktat **1.2.3**, Ktlint **0.46.1**.
Consider this code fragment:
```kotlin
@file:Suppress(
"MISSING_KDOC_TOP_LEVEL",
"MISSING_KDOC_CLASS_ELEMENTS",
"EMPTY_BLOCK_STRUCTURE_ERROR",
…
-
Now you can set only one reporter in the diktat-gradle-plugin plugin using the `report` configuration parameter or by setting
the "githubActions = true".
Setting the reporter to `sarif` disables er…
-
## Describe the bug
Generates duplicate `@property` for parameter with ``` in name
## Expected behavior
Doesn't generate duplicate `@property` for parameter with ``` in name
## Observed behavi…
nulls updated
11 months ago
-
Now users are required to add `mavenCentral` to plugin repositories, because gradle only searches gradle plugin portal by default
-
Running the plug-in with the external ruleset file ([`diktat.jar`](https://github.com/saveourtool/diktat)) results in a `NoSuchMethodError`
```
java.lang.NoSuchMethodError: 'void org.jetbrains.kot…
-
If you are submitting a **bug**, please include the following:
https://github.com/diffplug/spotless/tree/main/plugin-gradlexkotlin
This and more simply don't compile in kotlin, I suspect they ar…
-
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 …
-
Workflow of test `ManyLineTransformInLongLineTest`
1. `WhiteSpaceRule` splits to several lines
2. `IndentationRule` adds whitespaces at the start
3. `LineLength` splits again (it's from second run)…