diff options
| author | Jan Sucan <jan@jansucan.com> | 2021-05-30 17:12:11 +0200 |
|---|---|---|
| committer | Jan Sucan <jan@jansucan.com> | 2021-05-30 17:12:11 +0200 |
| commit | e6d470010a296064db894df2c1f4b373af13e17f (patch) | |
| tree | 933ae1f36afa7e969a81fa3ba2324bd0c877307c /.pre-commit-config.yaml | |
| parent | 02a78f4c01e18b9db2581ee7997bb963fa667f49 (diff) | |
pre-commit: Add no-tabs checker
Diffstat (limited to '.pre-commit-config.yaml')
| -rw-r--r-- | .pre-commit-config.yaml | 5 |
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$' |
