From 62f5c127f0150e02b18f544a7f763dd28ed7c507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89loi=20Rivard?= Date: Thu, 17 Aug 2023 09:58:49 +0200 Subject: [PATCH] chore: pre-commit do not remove trailing spaces from minified files --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e96a7965..bd292f7b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,9 @@ repos: hooks: - id: fix-byte-order-marker - id: trailing-whitespace + exclude: "\\.svg$|\\.map$|\\.min\\.css$|\\.min\\.js$|\\.po$" - id: end-of-file-fixer + exclude: "\\.svg$|\\.map$|\\.min\\.css$|\\.min\\.js$|\\.po$" - id: check-toml - repo: https://github.com/astral-sh/ruff-pre-commit rev: 'v0.0.282'