Skip to content

feat(tools): add Shell Script (Bash/Sh) Formatter #52

@rishima17

Description

@rishima17

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions