git pre-commit hook lint improved