Globally add pre-commit hooks on all user's computers. Use prettier to automatically clean JS/CSS code, and throw errors for python code which doesn't meet flake8 rules.
One problem is flake8 needs to be available in the pre-commit path, which without adding globally I struggled with...