2024-02-26 08:18:16 +00:00
|
|
|
# Get the path the the Husky script.
|
|
|
|
DIRNAME="$(dirname "$0")"
|
|
|
|
FILE="$DIRNAME/_/husky.sh"
|
|
|
|
|
|
|
|
# Exit if Husky is not installed.
|
|
|
|
if [ ! -f "$FILE" ]; then
|
|
|
|
exit 0;
|
|
|
|
fi
|
|
|
|
|
2024-04-11 14:11:06 +00:00
|
|
|
ESLINT_USE_FLAT_CONFIG=true pnpm exec lint-staged
|