Is there any way to run the intellij/AS IDE kotlin...
# intellij
c
Is there any way to run the intellij/AS IDE kotlin file analysis on CI? For example, we always get a warning of an unused param in a lambda and it's recommended to replace it with an underscore. I want to run whatever check that is... on CI (or even via a commit hook). Having an ability to fix it too would be nice, but not a requirement.
e
if you have IDEA installed on CI, you can https://www.jetbrains.com/help/idea/command-line-code-inspector.html surprisingly, I don't see a #detekt rule for that, though. might be nice to contribute one and use it instead
w
There is, see https://www.jetbrains.com/help/idea/working-with-the-ide-features-from-command-line.html. It requires an IJ installation and is quite slow as far as I understand, but it works.
👍 1
a
Be sure to check out https://www.jetbrains.com/help/qodana/getting-started.html (currently in EAP)