I am trying to enforce some coding rules in my team. To that end, I\'ve written a number of client-side hooks, which work all right, but now I want the same checks to run when a