rojo/.cursor/commands/format.md
Joe dea60eb4cf Add formatting and static analysis scripts with usage instructions
- Introduced new scripts for auto-fixing formatting and performing static analysis across the project, including support for Lua, Rust, and TypeScript.
- Created `format.md` documentation to guide users on running the formatting scripts.
- Updated CI scripts to utilize the number of processor threads for improved performance during linting and testing.
- Enhanced logging in the `unwatch` function to provide clearer feedback on path watching status.

These changes streamline the formatting and analysis process, ensuring consistent code quality across the project.
2026-02-17 19:07:50 -06:00

23 lines
519 B
Markdown

# /format - Auto-fix Formatting & Static Analysis
Run formatting and static analysis (linting) across the entire project.
## Instructions
### 1. Run the Format Script
**Windows (PowerShell):**
```powershell
.\scripts\format.ps1
```
**macOS/Linux (Bash):**
```bash
bash scripts/format.sh
```
**Monitor the script output as it runs.** If a step fails, investigate the failure and fix it manually before re-running.
### 2. Report
Once formatting passes clean, provide a brief summary and confirm the final result.