Update prettier pre-commit to ignore stage error
[releng/builder.git] / .pre-commit-config.yaml
index 25be085b24359bd9b319596d4534d29a72bdba67..d8494c9663327e5ad32509cc6e0024647b05eaa7 100644 (file)
@@ -13,6 +13,7 @@ repos:
     rev: v2.1.2
     hooks:
       - id: prettier
+        stages: [commit]
 
   - repo: https://github.com/jorisroovers/gitlint
     rev: v0.13.1