Description
Contributors can commit invalid Prisma schema changes that break the build. The existing Husky hooks only run ESLint.
Proposed Solution
Add a prisma validate step to the Husky pre-commit hook. This catches schema syntax errors before they reach CI.
Acceptance Criteria
Suggested Implementation Areas
.husky/pre-commit, package.json
Impact
Catches Prisma schema errors locally before they waste CI minutes and block other contributors.
Description
Contributors can commit invalid Prisma schema changes that break the build. The existing Husky hooks only run ESLint.
Proposed Solution
Add a
prisma validatestep to the Husky pre-commit hook. This catches schema syntax errors before they reach CI.Acceptance Criteria
prisma validateSuggested Implementation Areas
.husky/pre-commit,package.jsonImpact
Catches Prisma schema errors locally before they waste CI minutes and block other contributors.