diff --git a/CLAUDE.md b/CLAUDE.md index 96ac927..c6459de 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -150,6 +150,7 @@ Before committing any changes, **always run the full test suite**: ``` This script runs all checks in the correct order: + 1. Frontend linting (ESLint) 2. Frontend formatting (Prettier) 3. Frontend type checking (svelte-check) @@ -158,10 +159,12 @@ This script runs all checks in the correct order: 6. Backend tests with coverage (cargo test + llvm-cov) **Important**: The script requires Node.js and Rust toolchains to be available: + - **Node.js tools** (pnpm, npm): Source nvm first if needed: `source ~/.nvm/nvm.sh` - **Rust tools** (cargo, clippy): Should be in PATH via `~/.cargo/bin/` If `check-all.sh` reports any failures: + 1. Read the error messages carefully - they usually explain what needs fixing 2. Fix the issues (linting errors, test failures, etc.) 3. Run `check-all.sh` again to verify the fixes