12 lines
368 B
Plaintext
Executable File
12 lines
368 B
Plaintext
Executable File
# Check if GPG signing is enabled
|
|
gpg_sign=$(git config --get commit.gpgsign || echo "false")
|
|
|
|
if [ "$gpg_sign" != "true" ]; then
|
|
echo "Error: GPG signing is not enabled or properly configured!"
|
|
echo "Please enable it globally using: git config --global commit.gpgsign true"
|
|
echo "Or locally by running: git config commit.gpgsign true"
|
|
exit 1
|
|
fi
|
|
|
|
npm run lint
|