Personally, I view the "healthy" form of righteousness to be a supreme state of having truly given as one would truly care to receive. For every person, what that entails shall surely vary. Though I may not agree with another man's antics, if he has lived in accordance with the_golden_rule, there is a righteousness about him, differences of ethic aside.
The "unhealthy" form of righteousness is in no need of my illustrating it. We have all seen it, and for many of us it has tainted our view of its healthful equivalent. Let's not throw out the baby with the bathwater, folks. Most of the people exhibiting the icky-form of righteousness haven't really given as they'd care to receive (although this often seems to be lost on them)! However, "healthy" righteousness is a cornerstone of a healthful self-esteem.
In other words, one can be righteous unto oneself. Beyond that, things get blurry, fast. (And thorny.)