Skip to content
Snippets Groups Projects

Shell pre-commit hooks

This project has been discontinued and has been replaced by pre-commit-hooks.

pipeline status

Shell pre-commit hooks.

Usage

Add the following to your .pre-commit-config.yaml:

- repo: https://git.shore.co.il/nimrod/shell-pre-commit.git
  sha: v0.6.0
  hooks:
    - id: shell-lint
    - id: shellcheck

The minimal pre-commit version required is 0.15.0. The shellcheck hook requires shellcheck installed.

License

This software is licensed under the MIT license (see LICENSE.txt).

Author Information

Nimrod Adar, contact me or visit my website. Patches are welcome via git send-email. The repository is located at: https://git.shore.co.il/explore/.