mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
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.
This commit is contained in:
parent
5c4fd801db
commit
dea60eb4cf
6 changed files with 309 additions and 26 deletions
23
.cursor/commands/format.md
Normal file
23
.cursor/commands/format.md
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# /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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue