ShellCheck
Last updated
Last updated
ShellCheck is a linter for Bash.
You can enable the ShellCheck linter with:
ShellCheck will be auto-enabled if any Shell files are present.
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 Linters for more info. Trunk Code Quality provides a default .shellcheckrc
if your project does not already have one.
ShellCheck Trunk Code Quality integration source
Trunk Code Quality's open source plugins repo