JetBrains inspections are great, but I wish there was a way to run them programmatically so they could be checked in CI.
(EDIT: should have RTFA)
(EDIT: should have RTFA)
I haven't used it, but thIs seems to be what their Qodana product is for: https://www.jetbrains.com/qodana/
Which is literally what the post is about...
https://www.jetbrains.com/qodana/
Edited: Oops, should have refreshed. Someone beat me to it