ShellCheck
ShellCheck is a linter for Bash.
You can enable the ShellCheck linter with:
trunk check enable shellcheck
Auto Enabling
ShellCheck will be auto-enabled if any Shell files are present.
Settings
ShellCheck supports the following config files:
.shellcheckrcshellcheckrc
You can move these files to .trunk/configs and trunk check will still find them. See Moving Linters for more info. Trunk Code Quality provides a default .shellcheckrc if your project does not already have one.
Links
ShellCheck Trunk Code Quality integration source
Trunk Code Quality's open source plugins repo
Last updated

