🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore(dx): add more steps for pre-commit (#12901)
Tobias Wochingera59630d6560b
diff --git a/.husky/pre-commit b/.husky/pre-commitindex f5554fd4c0..0576858393 100755--- a/.husky/pre-commit+++ b/.husky/pre-commit@@ -11,13 +11,15 @@ if [ "$current_branch" = "$protected_branch" ]; thenecho "🚨 You are about to commit to the $protected_branch branch. Are you sure? (y/n)"read -r answer < /dev/ttyif [ "$answer" != "${answer#[Yy]}" ]; then- # Commit approved, check formatting. On files changed, block commit+ # Commit approved, run checkspnpm run format:check+ pnpm run lintelseecho "Commit to $protected_branch branch has been canceled."exit 1 # Commit will be blockedfifi-# If not the protected branch, check formatting (on changed files, block)+# If not the protected branch, run checkspnpm run format:check+pnpm run lint