Update prettier pre-commit to ignore stage error
[releng/global-jjb.git] / .pre-commit-config.yaml
index 3b8d1f1..89484cc 100644 (file)
@@ -9,6 +9,7 @@ repos:
     rev: v2.1.2
     hooks:
       - id: prettier
+        stages: [commit]
 
   - repo: https://github.com/jorisroovers/gitlint
     rev: v0.13.1
@@ -16,7 +17,7 @@ repos:
       - id: gitlint
 
   - repo: https://github.com/jumanjihouse/pre-commit-hooks
-    rev: 2.1.1
+    rev: 2.1.5
     hooks:
       - id: shellcheck