vega-frontend-monorepo/.husky/commit-msg
2022-05-16 13:36:03 -04:00

13 lines
292 B
Bash
Executable File

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
# Lint commit messages to ensure they follow conventional commit standards
yarn commitlint --edit "${1}"
# Lint all staged files
yarn lint-staged
# Build & test affected apps
yarn nx affected:build --uncommitted
yarn nx affected:test --uncommitted