Review shell scripts with Hound

Scott avatar
Written by Scott
Updated over a week ago

Hound uses ShellCheck to review shell scripts.

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

  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.

  enabled: true
  config_file: .shellcheck.yml

Example config file:

  - CODE1
  - CODE2

See ShellCheck wiki for information on ShellCheck codes.

Did this answer your question?