Skip to content
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.
/ shellcheck-bundle Public archive

A bundle for Batect that provides shell script linting using ShellCheck.

License

Notifications You must be signed in to change notification settings

batect/shellcheck-bundle

shellcheck-bundle

Build Status License

A bundle for Batect that provides a task to lint shell scripts with ShellCheck.

Usage

Setup

Add the following to your batect.yml:

include:
  - type: git
    repo: https://github.com/batect/shellcheck-bundle.git
    ref: XXX # Replace with latest version from https://github.com/batect/shellcheck-bundle/releases

Tasks

lint:shell

Runs ShellCheck on all shell scripts in the project directory.

Recursively searches for any files ending in .sh.

Exits with a non-zero status code if any issues are found.

Development

Run ./batect --list-tasks to see a list of available tasks for this project.