ShellCheck
ShellCheck is a linter for Bash.
You can enable the ShellCheck linter with:
Auto Enabling
ShellCheck will be auto-enabled if any Shell files are present.
Settings
ShellCheck supports the following config files:
.shellcheckrc
shellcheckrc
You can move these files to .trunk/configs
and trunk check
will still find them. See Moving Linter Configs 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