From 28a55b2d41cf65ed5f71455cc142b6bcb60ffdd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Mon, 26 Jun 2023 10:35:39 +0200 Subject: [PATCH] precommit only check prettier if html/css/js/json (#1786) add precommit checks only for types --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 95ae2bf8c..2d4fb0402 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,6 +26,7 @@ repos: rev: '50c5478ed9e10bf360335449280cf2a67f4edb7a' hooks: - id: prettier + types_or: [css, javascript, html, json] args: ['lnbits'] - repo: https://github.com/pycqa/flake8 rev: 6.0.0