Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix: eslint not running properly at
IgorHorta88bd0ed77e41
diff --git a/.husky/pre-commit b/.husky/pre-commitindex e842918809..94cd4250eb 100755--- a/.husky/pre-commit+++ b/.husky/pre-commit@@ -1,13 +1,30 @@#!/usr/bin/env sh. "$(dirname -- "$0")/_/husky.sh"+echo "π₯ Pre-commit hook is running!"# Check if infisical is installedif ! command -v infisical >/dev/null 2>&1; then- echo "\nError: Infisical CLI is not installed. Please install the Infisical CLI before comitting.\n You can refer to the documentation at https://infisical.com/docs/cli/overview\n\n"+ echo "\nError: Infisical CLI is not installed. Please install the Infisical CLI before committing.\n You can refer to the documentation at https://infisical.com/docs/cli/overview\n\n"exit 1fi+# Check for staged changes in frontend+if git diff --cached --name-only | grep -q "^frontend/"; then+ echo "π Frontend changes detected - running TypeScript type check..."+ npm run type:check --prefix frontend || exit 1+ echo "β Frontend type check passed"+fi++# Check for staged changes in backend+if git diff --cached --name-only | grep -q "^backend/"; then+ echo "π Backend changes detected - running TypeScript type check..."+ npm run type:check --prefix backend || exit 1+ echo "β Backend type check passed"+fi++# Lint staged filesnpx lint-staged-infisical scan git-changes --staged -v+# Scan for secrets+infisical scan git-changes --staged -v\ No newline at end of file