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