Re:
by jupp0r on Friday April 05, 2024 @05:52PM
(#39947698)
You shouldn't rely on a human reading an in-their-face warning. If you consider a particular static analysis check to be vital, run it in CI and make the PR introducing it red. Everything else is just an upcoming post mortem with "we should have noticed this" waiting to happen to you.
[ Parent
| on HN ]
> You shouldn't rely on a human reading an in-their-face warning. If you consider a particular static analysis check to be vital, run it in CI and make the PR introducing it red.
That’s what I meant (edited now). I want compilation to fail. Or whatever “CI” is.
We didn’t find a way to promote inspections to some kind of static analysis run.
I suspected that inspections would be tightly coupled to Jetbrain's IDEs (although I have no direct experience with them). There are probably equivalent static analysis tools available, but then you encounter the opposite problem of not having these errors available in your IDE, which is also not great for productivity.