mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 14:01:37 +00:00
- 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.
23 lines
519 B
Markdown
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.
|