No, you don't.
To check if people have done what - committed? That's the only thing they need to do, and they'll stumble upon a roadblock immediately if the typecheck or lint fails.
Committing itself won't be possible... That's why we have automated pre-commit checks that don't depend on people remembering to do them manually.
They're optional if you make them optional. I didn't. You do as you please. ๐