📝 Edit page
➕ Add page
Format and Lint
How to format and lint your shell scripts
Formatting
Use ShellFormat.
Linting
Use Shellcheck directly or with VS Code.
- shellcheck.net homepage
- shellcheck extension
- koalaman/shellcheck repo
- follow install instructions including with
brew
orapt-get
- or download binary
- see also use in
makefile
- this can be used in CI flow too.
- follow install instructions including with