What is strictness, or the doctrine of strictness, in conforming to law called?

legalism — Strictness, or the doctrine of strictness, in conforming to law. (Webster's 1913.)

Sources