From 2547f8f9757d13a6139f06db62404e685544908f Mon Sep 17 00:00:00 2001 From: Anthony Gagnon Date: Fri, 6 Dec 2024 22:13:54 +0000 Subject: [PATCH] fix regex pattern --- .pre-commit-config.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 03e2cfb..4d3c2ce 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,8 @@ -exclude: "assets/.*|*.diff" +exclude: | + (?x)^( + assets/.*| + .*\.diff + )$ repos: - repo: https://github.com/pre-commit/mirrors-prettier rev: "v3.1.0"