aboutsummaryrefslogtreecommitdiffhomepage
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml12
1 files changed, 10 insertions, 2 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 02adf09cd1..7687fc6ee2 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,12 +1,20 @@
fail_fast: false
repos:
- repo: https://github.com/pocc/pre-commit-hooks
- rev: v1.1.1
+ rev: v1.3.5
hooks:
- id: clang-format
args:
- -i
- repo: https://github.com/pre-commit/mirrors-prettier
- rev: v2.2.1
+ rev: v2.7.1
hooks:
- id: prettier
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.4.0
+ hooks:
+ - id: trailing-whitespace
+ - id: check-yaml
+ - id: check-added-large-files
+ - id: check-shebang-scripts-are-executable
+ exclude: "\\.mustache$"