Insight said:
If you read the spell description for Detect Evil, it is vague as to whether the user is detecting Alignment or intent.
It doesn't detect intent.
However, it doesn't detect strictly alignment, either.
A LN, TN, or CN cleric of a LE, NE, or CE god would register on detect evil. And with a strong aura -- much stronger than that of a LE, NE, or CE warlock of the same level. Heck, a paladin of an evil god, if such a thing were to happen, would register as both strongly good (being a paladin) and strongly evil (being a divine spellcaster of an evil god).
In Eberron, which drops the One-Step rule, a good cleric of an evil deity (like a NG cleric of the Blood of Vol that believes in the "quest for freedom from mortality" aspect of the BoV's dogma) would register as evil, despite being himself of good alignment.
Finally, any undead, no matter what the alignment -- actually evil, just neutral, or even good -- is detected as well.
In fact,
detect evil would be more aptly named as
detect suspicious beings.