From: Anil Belur Date: Sun, 16 Feb 2025 02:46:02 +0000 (+1000) Subject: Fix: pre-commit warning X-Git-Tag: v0.91.2^0 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=4d816503db4dfa60feccdfffd510af734160e7e8;p=releng%2Fglobal-jjb.git Fix: pre-commit warning [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 --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 398cfab2..373941e6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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