Linting / code style¶
- for general shell linting, use
shuckor shellcheck` - for bash, use
checkbashism- see bash.md for more details on
bashism
- see bash.md for more details on
- Also:
shfmt
shuck¶
Shellcheck¶
Ignoring¶
Ignore a line:
Shellcheck fixing support¶
Still no native automitic fixing but as a workaround:
For multiple files:
There's also an example to use parallel jobs.