pre-commit-shell is a pre-commit component, which wrapper shellcheck to check shell scripts:)
pre-commit-shell requires the following to run:
- create .pre-commit-config.yaml in you git project
- pre-commit install
- enjoy it
example .pre-commit-config.yaml as following:
- repo: git://github.com/detailyang/pre-commit-shell
sha: 1.0.1
hooks:
- id: shell-lint
To contribute to pre-commit-shell, clone this repo locally and commit your code on a separate branch.
GitHub @detailyang
pre-commit-shell is licensed under the MIT license.