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 1 year 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 (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-06-24T12:44:55.000Z (almost 4 years ago)
- Last Synced: 2025-02-24T01:14:04.425Z (over 1 year 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).
[](https://github.com/caarlos0/shcheck/releases/latest)
[](LICENSE.md)
[](https://travis-ci.org/caarlos0/shcheck)
[](https://codecov.io/gh/caarlos0/shcheck)
[](http://godoc.org/github.com/caarlos0/shcheck)
[](https://goreportcard.com/report/github.com/caarlos0/shcheck)
[](https://saythanks.io/to/caarlos0)
[](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
```