aboutsummaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorJan Sucan <jan@jansucan.com>2021-05-30 17:12:11 +0200
committerJan Sucan <jan@jansucan.com>2021-05-30 17:12:11 +0200
commite6d470010a296064db894df2c1f4b373af13e17f (patch)
tree933ae1f36afa7e969a81fa3ba2324bd0c877307c /.pre-commit-config.yaml
parent02a78f4c01e18b9db2581ee7997bb963fa667f49 (diff)
pre-commit: Add no-tabs checker
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 6f3cb11..20aae69 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -11,3 +11,8 @@ repos:
hooks:
- id: clang-format
args: [--style=file]
+- repo: https://github.com/Lucas-C/pre-commit-hooks
+ rev: v1.1.9
+ hooks:
+ - id: forbid-tabs
+ exclude: '^.*Makefile$|^.*\.mk$'