diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..e36d6346f9a7ae3356817771eb0d1b3c678d0d59
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,8 @@
+repos:
+-   repo: https://github.com/pre-commit/pre-commit-hooks
+    rev: v2.3.0
+    hooks:
+    -   id: trailing-whitespace
+        args: [--markdown-linebreak-ext=md, --markdown-linebreak-ext=pandoc]
+
+exclude: 'ThirdParty/*|Tests/Data/*'