Fix: pre-commit warning 05/73405/1 v0.91.2
authorAnil Belur <abelur@linuxfoundation.org>
Sun, 16 Feb 2025 02:46:02 +0000 (12:46 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Sun, 16 Feb 2025 02:46:02 +0000 (12:46 +1000)
[WARNING] hook id `prettier` uses deprecated stage names (commit)
which will be removed in a future version.

Change-Id: I96337acdcb3ea20061ceb3a0f25c1fb4fb86d102
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
.pre-commit-config.yaml

index 398cfab..373941e 100644 (file)
@@ -15,7 +15,7 @@ repos:
     rev: f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8
     hooks:
       - id: prettier
-        stages: [commit]
+        stages: [pre-commit]
 
   - repo: https://github.com/jorisroovers/gitlint
     rev: acc9d9de6369b76d22cb4167029d2035e8730b98 # frozen: v0.19.1