summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorDaniel Schürmann <daschuer@mixxx.org>2020-06-18 12:14:39 +0200
committerDaniel Schürmann <daschuer@mixxx.org>2020-06-19 09:02:22 +0200
commit92c2047f9a5520883421409a0f0191780380437f (patch)
tree29e79fa36d98a94838b4f9fc6578637ce8f2c0e7 /.pre-commit-config.yaml
parente89d0251b31b67fff08363e5c1b6467ea6d76739 (diff)
exclude files checked by clang-format from other redundant whitespace checks
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index f274afbf20..432e46066b 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -55,11 +55,13 @@ repos:
- id: check-xml
- id: check-yaml
- id: end-of-file-fixer
+ exclude: \.(c|cc|cxx|cpp|frag|glsl|h|hpp|hxx|ih|ispc|ipp|java|js|m|mm|proto|vert)$
stages:
- commit
- manual
- id: mixed-line-ending
- id: trailing-whitespace
+ exclude: \.(c|cc|cxx|cpp|frag|glsl|h|hpp|hxx|ih|ispc|ipp|java|js|m|mm|proto|vert)$
stages:
- commit
- manual