Skip to content

mpoberezhniy/differential-shellcheck-precommit

Repository files navigation

ShellCheck pre-commit hook

This is NOT an official pre-commit hook for differential-shellcheck, the static analysis tool for changed shell scripts.

Activate by adding it to your .pre-commit-config.yaml:

repos:
-   repo: https://github.com/mpoberezhniy/differential-shellcheck-precommit
    rev: v5.2.0
    hooks:
    -   id: differential-shellcheck
#       args: ["--severity=warning"]  # Optionally only show errors and warnings

Why a separate repo?

This repo keeps the pre-commit hook out of the critical path of differential-shellcheck releases, reducing the number of things that can go wrong. This in turn helps ensure a smoother pre-commit autoupdate.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published