Merge "Update prettier pre-commit to ignore stage error"
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Fri, 26 Mar 2021 14:59:24 +0000 (14:59 +0000)
committerGerrit Code Review <gerrit@linuxfoundation.org>
Fri, 26 Mar 2021 14:59:24 +0000 (14:59 +0000)
.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