Because commits should be small and fast, and always work, like a save. If you’re running a multi second process during commit it’s going to get ripped out.
My thinking is that the linter only has to operate on the code that was actually checked in. And just how many things are you checking about it, anyway?