diff --git a/.prettierignore b/.prettierignore index 064f93a..2b0b32c 100644 --- a/.prettierignore +++ b/.prettierignore @@ -10,4 +10,5 @@ coverage .github .specify auto-imports.d.ts -components.d.ts \ No newline at end of file +components.d.ts +pnpm-lock.yaml \ No newline at end of file diff --git a/AGENTS.md b/AGENTS.md index 0e203e3..783f027 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -38,6 +38,7 @@ Before committing any code changes, you MUST run and pass: **Automated Enforcement**: The pre-commit hook (`scripts/pre-commit-check.sh`) automatically runs these checks. If any check fails, the commit will be blocked. **Quick Fix Command**: If checks fail: + 1. Run `pnpm install` to sync lockfile (if package.json changed) 2. Run `pnpm lint:fix` to auto-fix formatting 3. Address any TypeScript errors manually