Skip to main content
ShellCheck

Review shell scripts with Hound

Scott avatar
Written by Scott
Updated over 6 years ago

Hound uses ShellCheck to review shell scripts.

To enable ShellCheck, add the following to your .hound.yml file:

shellcheck:
  enabled: true

To tell ShellCheck to ignore certain codes, add .shellcheck.yml  file to your project (or give it another name if you like), include in it codes you want ignored, and reference the file in your .hound.yml file.

shellcheck:
  enabled: true
  config_file: .shellcheck.yml

Example config file:

exclude:
  - CODE1
  - CODE2

See ShellCheck wiki for information on ShellCheck codes.

Did this answer your question?