-
## Expected Behavior
Using the configuration
```
formatting:
autoCorrect: false
ImportOrdering:
autoCorrect: true
```
I'd expect `autoCorrect` to be enabled, but *only* for fixes…
-
The save gives warnings for warnings from the expected file in FixAndWarn plugin in diktat smoke test
It is possible that the warn plugin is being run on an expected file with warnings
save.toml…
-
We've seen that ktlint is not super reliable for code formatting. It's ok for static analysis, but even then, we can probably just rely on Detekt (plus Compose rules?).
A better alternative would b…
-
There's another formatter with much more configuration called [Detekt](https://github.com/arturbosch/detekt) that some kotlin projects may want to use instead of Ktlint.
(Personally, I still love K…
-
## Expected Behavior
`notifyItemRangeChanged(0, currentList.size)` should not report any warning
## Observed Behavior
`notifyItemRangeChanged(0, currentList.size)` is reporting warning
Tho…
-
---
**From the maintainer Li Haoyi**: I'm putting a 2000USD bounty on this issue, payable by bank transfer on a merged PR implementing this.
---
https://github.com/lefou/mill-kotlin/ exists, …
-
I was wondering if there is a plan to have automated style check and linting for contributions. This would be really useful to keep the codebase clean and consistent. Additionally, some pre-commit hoo…
-
I think Java prefers
```java
if (condition1
&& condition 2
|| condition3) {
// do something
}
```
This style would make sense to me in Kotlin as well, but I couldn't find anythin…
-
## Description
detekt plugin in IDEA can not report any problems, and when i run `analyze file`, it will report an internal error
## Environment
- detekt Idea plugin Version: 2.4.0
- detekt Vers…
-
## Describe the bug
This error occur when executing `spotlessApply` task
## Expected behavior
Complete the `spotlessApply`task
## Observed behavior
View stack trace
```
Step 'diktat' fo…