Skip to content

Snapshot of a public project used internally by Adtran developers to lint shell scripts.

License

Notifications You must be signed in to change notification settings

ADTRAN/shellcheck-precommit

Repository files navigation

ShellCheck pre-commit hook

This is the official pre-commit hook for ShellCheck, the static analysis tool for shell scripts.

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

repos:
-   repo: https://github.com/koalaman/shellcheck-precommit
    rev: v0.10.0
    hooks:
    -   id: 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 ShellCheck releases, reducing the number of things that can go wrong. This in turn helps ensure a smoother pre-commit autoupdate.

About

Snapshot of a public project used internally by Adtran developers to lint shell scripts.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages