legalism has definitions from the field of law
1
[ noun ] (law) strict conformity to the letter of the law rather than its spirit

Related terms

conformity

*