From 23ade39ab1599ea3e5c78ffd74a9ef9ecff77297 Mon Sep 17 00:00:00 2001 From: Kasper Fyhn Date: Fri, 6 Dec 2024 11:15:05 +0100 Subject: [PATCH] Only targeting CSS and TypeScript files with prettier --- .pre-commit-config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5960b93..794931e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,6 +23,7 @@ repos: - id: ruff - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.1.0 # Use the sha or tag you want to point at + rev: v3.1.0 hooks: - id: prettier + files: ".*[.tsx,.ts,.css]"