Update prettier pre-commit to ignore stage error
[releng/global-jjb.git] / .pre-commit-config.yaml
index 7141eed..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