Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/caarlos0-graveyard/shcheck
easily bind shellcheck and shfmt to your CI, so your shellscripts can be checked.
https://github.com/caarlos0-graveyard/shcheck
bash linter travis
Last synced: about 2 months ago
JSON representation
easily bind shellcheck and shfmt to your CI, so your shellscripts can be checked.
- Host: GitHub
- URL: https://github.com/caarlos0-graveyard/shcheck
- Owner: caarlos0-graveyard
- License: mit
- Archived: true
- Created: 2017-06-17T15:28:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-24T12:44:55.000Z (over 2 years ago)
- Last Synced: 2024-06-19T05:56:17.437Z (6 months ago)
- Topics: bash, linter, travis
- Language: Go
- Homepage:
- Size: 93.8 KB
- Stars: 16
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 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](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code.
We appreciate your contribution. Please refer to our [contributing guidelines](CONTRIBUTING.md).[![Release](https://img.shields.io/github/release/caarlos0/shcheck.svg?style=flat-square)](https://github.com/caarlos0/shcheck/releases/latest)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
[![Travis](https://img.shields.io/travis/caarlos0/shcheck.svg?style=flat-square)](https://travis-ci.org/caarlos0/shcheck)
[![Coverage Status](https://img.shields.io/codecov/c/github/caarlos0/shcheck/master.svg?style=flat-square)](https://codecov.io/gh/caarlos0/shcheck)
[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](http://godoc.org/github.com/caarlos0/shcheck)
[![Go Report Card](https://goreportcard.com/badge/github.com/caarlos0/shcheck?style=flat-square)](https://goreportcard.com/report/github.com/caarlos0/shcheck)
[![SayThanks.io](https://img.shields.io/badge/SayThanks.io-%E2%98%BC-1EAEDB.svg?style=flat-square)](https://saythanks.io/to/caarlos0)
[![Powered By: GoReleaser](https://img.shields.io/badge/powered%20by-goreleaser-green.svg?style=flat-square)](https://github.com/goreleaser)## Usage
Just add it to your travis.yml:
```yaml
script:
- curl -sL https://git.io/shcheck | bash -s
```You can also pass files and folders to be ignored, like this:
```yaml
script:
- curl -sL https://git.io/shcheck | bash -s -f -- --ignore=somefile.sh --ignore='folder/**/*'
```Or with Docker:
```sh
docker run --rm -v `pwd`:/scripts --workdir=/scripts caarlos0/shcheck
```