From bb24e142d96fa538e26a42e9ba59206387dc9557 Mon Sep 17 00:00:00 2001 From: Nassim Tabchiche Date: Fri, 26 Apr 2024 16:35:19 +0200 Subject: [PATCH] Only run prettier on changes under frontend/ --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f4e8cc373b..dbe741ab8a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,6 +18,6 @@ repos: hooks: - id: format-frontend name: format-frontend - files: frontend/* + files: ^frontend/.$ language: system entry: sh -c "npm run format --prefix frontend"