Skip to content
Olivier Halligon edited this page May 17, 2022 · 1 revision

Buildkite provides a plugin dedicated to run shellcheck.

Simply add this step to your Buildkite pipeline (.buildkite/pipeline.yml) to use it:

steps:
  - label: ":shell: Shellcheck"
    plugins:
      shellcheck#v1.1.2:
        # List the files you want to lint
        files: ["**/*.sh"]
        # additional options to pass to shellcheck (optional)
        options: ["-x", "-P", "SCRIPTDIR"]

ShellCheck

Each individual ShellCheck warning has its own wiki page like SC1000. Use GitHub Wiki's "Pages" feature above to find a specific one, or see Checks.

Clone this wiki locally