-
This is a great stylistic bug, that is not handled by IDEA:
```
foo {_, _: Int, a: Int - > println("hi") }
```
diktat should detect and remove a type of such anonymous arguments (`_: Int`)
…
-
Diktat should be able to detect shadowed variables as it can cause serious issues.
```
Name shadowing can cause following issues. There should be no shadowing.
infinite loop:
fun main() {
…
-
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 ne…
-
If the file contains only one Interface or enum class, then it will not have a **.kt** in the name.
Maybe add this to the rule?
-
Good by for now, anyway need to go step-by-step here. I think we will need a fixed schema with keys that would be rule names, for example:
```toml
[LONG_LINE]
enabled=true
```
…
nulls updated
8 months ago
-
This could be used primarily for integration with spotless.
-
`org.cqfn.save.core.integration.ClassicWarnTest` fails on MacOS (probably, after update to Kotlin 1.6.0 and other related dependency updates) with `ProcessExecutionException: Stream closed` being thro…
-
The problem is not in ordering:
1. We check KDoc when process `CLASS`
2. We fix the KDoc when process `VAL_KEYWORD` or `VAR_KEYWORD` inside.
We can move checking KDoc on CLASS level after process…
nulls updated
10 months ago
-
Before you close the issue, i basically never use github nor do i actively report bugs but i guess it's best i could do here.
I've tried to do a repeatable bar quest for terraforming rig and got th…
-
## Describe the bug
This error occur when executing `spotlessApply` task
## Expected behavior
Complete the `spotlessApply`task
## Observed behavior
View stack trace
```
Step 'diktat' fo…