diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..a5abfa9a78f4e39c1ae9570cf17eca51669760b2
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,9 @@
+---
+- repo: local
+  hooks:
+  - id: shell-lint
+    name: Lint shell scripts
+    description: Run /bin/sh -en against shell scripts.
+    language: script
+    entry: shell-lint
+    files: shell-lint