Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.
/ shcheck Public archive

easily bind shellcheck and shfmt to your CI, so your shellscripts can be checked.

License

Notifications You must be signed in to change notification settings

caarlos0-graveyard/shcheck

Repository files navigation

shcheck

A tool to easily bind shellcheck and shfmt to your CI, so your shellscripts can be checked.

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. We appreciate your contribution. Please refer to our contributing guidelines.

Release Software License Travis Coverage Status Go Doc Go Report Card SayThanks.io Powered By: GoReleaser

Usage

Just add it to your travis.yml:

script:
  - curl -sL https://git.io/shcheck | bash -s

You can also pass files and folders to be ignored, like this:

script:
  - curl -sL https://git.io/shcheck | bash -s -f -- --ignore=somefile.sh --ignore='folder/**/*'

Or with Docker:

docker run --rm -v `pwd`:/scripts --workdir=/scripts caarlos0/shcheck