0
Fork 0
mirror of https://github.com/penpot/penpot-plugins.git synced 2025-01-04 13:50:13 -05:00
penpot-plugins/.husky/pre-commit
2024-04-15 09:31:45 +02:00

5 lines
108 B
Bash

#!/bin/bash
if [ -z "$HUSKY_HOOK" ] || [ "$HUSKY_HOOK" = "pre-commit" ]; then
npm run lint:affected
fi