summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-01-25 02:21:45 +0100
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-01-25 02:21:45 +0100
commit0bff262e952a1ca1f0ffee31fd66186023b9a177 (patch)
tree7e5de59c8942464b3cb5c7e6aaac6615eecf498f /.pre-commit-config.yaml
parent699c975a342c01f6109f1e446eb6c0a7269a19bb (diff)
pre-commit: Order hooks alphabetically in config file
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index fe90d6fc5a..a26c7d66c6 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -3,18 +3,18 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- - id: check-case-conflict
- id: check-byte-order-marker
exclude: ^.*(\.cbproj|\.groupproj|\.props|\.sln|\.vcxproj|\.vcxproj.filters)$
- - id: check-merge-conflict
- - id: check-yaml
+ - id: check-case-conflict
- id: check-json
+ - id: check-merge-conflict
- id: check-xml
- - id: mixed-line-ending
+ - id: check-yaml
- id: end-of-file-fixer
stages:
- commit
- manual
+ - id: mixed-line-ending
- id: trailing-whitespace
stages:
- commit