1234567891011121314151617181920212223242526272829 |
- # See https://pre-commit.com for more information
- # See https://pre-commit.com/hooks.html for more hooks
- repos:
- - repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.1.0
- hooks:
- - id: check-added-large-files # prevents giant files from being committed.
- - id: check-byte-order-marker # forbids files which have a utf-8 byte-order marker.
- - id: check-case-conflict # checks for files that would conflict in case-insensitive filesystems.
- - id: check-executables-have-shebangs # ensures that (non-binary) executables have a shebang.
- - id: check-shebang-scripts-are-executable # ensures that (non-binary) files with a shebang are executable.
- - id: check-merge-conflict # checks for files that contain merge conflict strings.
- - id: check-symlinks # checks for symlinks which do not point to anything.
- - id: check-vcs-permalinks # ensures that links to vcs websites are permalinks.
- - id: destroyed-symlinks # detects symlinks which are changed to regular files with a content of a path which that symlink was pointing to.
- - id: forbid-new-submodules # prevents addition of new git submodules.
- - id: mixed-line-ending # replaces or checks mixed line ending.
- args: ["--fix", "no"]
- - repo: https://github.com/jumanjihouse/pre-commit-hooks.git
- rev: "2.1.5"
- hooks:
- - id: shellcheck
- - repo: https://code.robertkosten.de/rkosten/pre-commit-hooks.git
- rev: "0.1.0"
- hooks:
- - id: shellharden
|