Add pre-commit hook to format shell scripts #847
Labels
🤖 aspect: dx
Concerns developers' experience with the codebase
✨ goal: improvement
Improvement to an existing user-facing feature
good first issue
New-contributor friendly
help wanted
Open to participation from the community
🟩 priority: low
Low priority and doesn't need to be rushed
🧱 stack: mgmt
Related to repo management and automations
Problem
We have quite a lot of shell scripts in the codebase. Prettier doesn't format them.
Description
shfmt
is a tool for formatting shell programs. It is available as a pre-commit hook and can be readily integrated with our linting setup.Additional context
This will undoubted cause our existing scripts to be slightly changed to match the style guide. It might be worth discussing if the changes are worth it.
The text was updated successfully, but these errors were encountered: