diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000000000..6d497dca1469a --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,14 @@ +--- +# Configuration file for pre-commit (https://pre-commit.com/). +# Please run `pre-commit run --all-files` when adding or changing entries. + +repos: + - repo: local + hooks: + - id: shellcheck + name: ShellCheck + language: system + entry: shellcheck + args: [--color=always] + types: [shell] + stages: [commit]