# Normalize commit type to lowercase sed -E 's/^[A-Za-z]+/\L&/' "$1" > "$1.tmp" && mv "$1.tmp" "$1" npx --no-install commitlint --edit "$1"