precommit only check prettier if html/css/js/json (#1786)

add precommit checks only for types
This commit is contained in:
dni ⚡ 2023-06-26 10:35:39 +02:00 committed by GitHub
parent d66c83c91a
commit 28a55b2d41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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