keycloak-scim/js/.husky/pre-commit
Jon Koops 13aabf4022
Move ESLint configuration to project root (#28639)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-04-12 08:34:18 +00:00

10 lines
187 B
Text
Executable file

# 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
pnpm exec lint-staged