[PATCH v2 4/5] pre-commit: add initial config