Description
A formatting tool for shell scripts to enforce consistent indentation and style. Ideally includes basic linting for common pitfalls (like missing quotes around variables).
Rationale
Shell scripts are often "quick and dirty". Having a quick way to pretty-print and check them prevents production bugs in deployment scripts.
Expected Behavior
Input area for shell code.
"Format" button to beautify code.
Basic linting warnings (e.g., SC2086 "Double quote to prevent globbing").
Implementation Tasks
Create shellFormatter.tsx.
Integrate a library like shfmt (WASM version if available) or use a beautifier logic.
Add syntax highlighting for Shell scripts.
Description
A formatting tool for shell scripts to enforce consistent indentation and style. Ideally includes basic linting for common pitfalls (like missing quotes around variables).
Rationale
Shell scripts are often "quick and dirty". Having a quick way to pretty-print and check them prevents production bugs in deployment scripts.
Expected Behavior
Input area for shell code.
"Format" button to beautify code.
Basic linting warnings (e.g., SC2086 "Double quote to prevent globbing").
Implementation Tasks
Create shellFormatter.tsx.
Integrate a library like shfmt (WASM version if available) or use a beautifier logic.
Add syntax highlighting for Shell scripts.