White Rabbit

Results 188 comments of White Rabbit
trafficstars

> Any ideas why it does not warn about the last example? Looks like we haven’t added `androidx` to the inspection and the code style. It goes to `other` and...

@petertrr could please also check why we ignore `org.cqfn.diktat` in `AstNodeUtils.kt` and group them together?

Right now we have simply added a hack for value classes [here](https://github.com/analysis-dev/diktat/pull/958/files#diff-1cb6c2559bf719b8d851cc9430a72a270502221dcbc1d83277312263f52141c4):

@droidmatic34 thank you for your report, we will investigate this issue in the nearest time

Thank you for the report! That should be easy to fix :)

Could you please provide an example of such yml config?

> Do you mean support it in diktat with autofix? "replaceWith" doesn't mean replacement 1:1 No, it actually does the logic in 90% of scenarios. IDEA uses it: https://dev.to/mreichelt/the-hidden-kotlin-gem-you-didn-t-think-you-ll-love-deprecations-with-replacewith-3blo

> If we will support it as autofix logic -- we will produce irrelevant code in 10% of scenarios. How IDEA filters out false positives? They do absolutely the same

Exactly. We cannot do everything for the developer, especially in the case of renaming

that can be a big problem for us, but can be fixed partially in https://github.com/analysis-dev/diktat/issues/1179