Why would it be on each dev to setup?
Your repo can, and should, include workspace settings for major editors that provide a uniform experience for anyone onboarded to the platform.
I agree that precommit hooks are good for uniformity. But slow pre commit hooks are frustrating, they are also often turned off. Your CI will always be the last gatekeeper for linting/formatting rules regardless.
Making precommit hooks slower means more devs disable them, which is the opposite of what you want. Save them for simple, read, checks and validations that can run in < 1s for even huge changesets.
Hospital near me has password requirements for their electronic medical records system as:
And for new hires and what not, they tell them to use
{hospital abbreviation}{2 digit year}
. Likecasu24
No freaking wonder