generated from nhcarrigan/template
chore: format
This commit is contained in:
@@ -150,6 +150,7 @@ Before committing any changes, **always run the full test suite**:
|
|||||||
```
|
```
|
||||||
|
|
||||||
This script runs all checks in the correct order:
|
This script runs all checks in the correct order:
|
||||||
|
|
||||||
1. Frontend linting (ESLint)
|
1. Frontend linting (ESLint)
|
||||||
2. Frontend formatting (Prettier)
|
2. Frontend formatting (Prettier)
|
||||||
3. Frontend type checking (svelte-check)
|
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)
|
6. Backend tests with coverage (cargo test + llvm-cov)
|
||||||
|
|
||||||
**Important**: The script requires Node.js and Rust toolchains to be available:
|
**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`
|
- **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/`
|
- **Rust tools** (cargo, clippy): Should be in PATH via `~/.cargo/bin/`
|
||||||
|
|
||||||
If `check-all.sh` reports any failures:
|
If `check-all.sh` reports any failures:
|
||||||
|
|
||||||
1. Read the error messages carefully - they usually explain what needs fixing
|
1. Read the error messages carefully - they usually explain what needs fixing
|
||||||
2. Fix the issues (linting errors, test failures, etc.)
|
2. Fix the issues (linting errors, test failures, etc.)
|
||||||
3. Run `check-all.sh` again to verify the fixes
|
3. Run `check-all.sh` again to verify the fixes
|
||||||
|
|||||||
Reference in New Issue
Block a user