pre-commit-gitops 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:
repos:
- repo: https://github.com/songhanpoo/pre-commit-shell-gitops.git
rev: v1.0.3
hooks:
- id: msg-check
verbose: false
args:
- -p=".*"
- id: branching-check
verbose: false
args:
- -p=".*"
To contribute to pre-commit-gitops, clone this repo locally and commit your code on a separate branch.
GitHub @songhanpoo
pre-commit-gitops is licensed under the [MIT] license.