What the author of this piece calls 'addiction to righteousness' can also be described as 'obsession with outrage porn' or 'wanting to get triggered'. It's an easy fix for the addict to obtain - anyone suffering this malady can just scroll Twitter or Reddit etc. until they find something that does the trick. Then they can add their voice to the chorus of condemnation or commiseration and get the biochemical stimulus they were craving, most likely a dopamine reward. Note that the story they're reacting too doesn't even need to be true, and I always assume at least 50% of the 'anonymous personal testimonials' on social media are just fabricated stories put out for the upvotes (upvote addiction being rather similar).
One way out of that trap is to 'buffer' all the social media information you get, i.e. assume everything is untrustworthy, and if only it's something you think you're really interested in, something worth spending time on, only then move it to the 'active' folder, and do some work to verify the information is actually reliable.
Warning: outrage addicts might suffer some withdrawal from the dopamine release effect if they do this. Long-term mental health will likely improve, however.